Skip to content

Commit

Permalink
ci: automatically publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Aug 28, 2023
1 parent f111461 commit 793d909
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ jobs:
release-android:
name: "Build for aarch64-linux-android"
runs-on: "ubuntu-latest"
needs: ["crate-info", "commit-branch-check", "crate-version-check"]

steps:
- name: "Checkout source code"
Expand Down Expand Up @@ -273,3 +274,19 @@ jobs:
files: "target/aarch64-linux-android/release/starkli-aarch64-linux-android.tar.gz"
generate_release_notes: true
draft: true

publish-release:
name: "Publish release"
runs-on: "ubuntu-latest"
needs:
- "draft-release"
- "release-non-apple"
- "release-apple"
- "release-android"

steps:
- name: "Publish release"
uses: "softprops/action-gh-release@v1"
with:
generate_release_notes: false
draft: false

0 comments on commit 793d909

Please sign in to comment.