forked from 2dust/v2rayNG
-
Notifications
You must be signed in to change notification settings - Fork 30
41 lines (34 loc) · 1022 Bytes
/
build2.yml
File metadata and controls
41 lines (34 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Download Latest aar
on:
workflow_dispatch:
inputs:
release_tag:
required: true
type: string
jobs:
download:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: make directory
run: |
mkdir ${{ github.workspace }}/myaar
cd ${{ github.workspace }}/myaar
- name: Download latest release
uses: robinraju/release-downloader@v1
with:
repository: 'GFW-knocker/AndroidLibXrayLite'
latest: true
fileName: '*'
out-file-path: '${{ github.workspace }}/myaar/'
- name: check filenames
run: |
cd ${{ github.workspace }}/myaar/
ls
- name: Upload AndroidLibXrayLite to release
uses: svenstaro/upload-release-action@v2
with:
file: ${{ github.workspace }}/myaar/*
tag: ${{ github.event.inputs.release_tag }}
file_glob: true