-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add
android
target to release build (#5844)
* build: build android Signed-off-by: lateautumn233 <lateautumn233@foxmail.com> * ci: add `android` target to release build Signed-off-by: lateautumn233 <lateautumn233@foxmail.com> --------- Signed-off-by: lateautumn233 <lateautumn233@foxmail.com>
- Loading branch information
1 parent
34b73b9
commit bff56ff
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: release_android | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
release_android: | ||
strategy: | ||
matrix: | ||
platform: [ ubuntu-latest ] | ||
go-version: [ '1.21' ] | ||
name: Release | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build | ||
run: | | ||
bash build.sh release android | ||
- name: Upload assets | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: build/compress/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters