mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Update mybuild.yml
Signed-off-by: jxw7453 <jxw7453@163.com>
This commit is contained in:
parent
76ad8a57cd
commit
b5c98a6bdb
15
.github/workflows/mybuild.yml
vendored
15
.github/workflows/mybuild.yml
vendored
@ -1,3 +1,4 @@
|
||||
|
||||
name: MyBuild
|
||||
|
||||
on:
|
||||
@ -201,7 +202,7 @@ jobs:
|
||||
name: binary-${{ matrix.name }}
|
||||
path: 'dist'
|
||||
build_android:
|
||||
name: Build Android library
|
||||
name: Build Android
|
||||
if: github.event_name != 'workflow_dispatch' || inputs.build == 'All' || inputs.build == 'Android'
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
@ -260,16 +261,16 @@ jobs:
|
||||
if: github.event_name != 'workflow_dispatch'
|
||||
run: |-
|
||||
go run -v ./cmd/internal/update_android_version --ci --nightly
|
||||
- name: Export libbox.aar file
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
run: |-
|
||||
mkdir -p dist/release
|
||||
cp libbox.aar dist/release
|
||||
- name: Prepare upload
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
run: |-
|
||||
mkdir -p dist/release
|
||||
cp libbox.aar dist/release
|
||||
- name: Upload artifact
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: binary-android-dist
|
||||
name: binary-android-apks
|
||||
path: 'dist'
|
||||
publish_android:
|
||||
name: Publish Android
|
||||
|
Loading…
x
Reference in New Issue
Block a user