forked from android-graphics/sherlock-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release sherlock platform as a prebuilt (android-graphics#35)
* Included a release script for releasing platform prebuilts. * Update release.yml to include manual trigger * Update release.yml to add a dependency on build.yml * Added a condition to check for build.yml successful run and existence of artifacts before release. * Make build.yml reusable in release.yml
- Loading branch information
1 parent
6fcefcf
commit fbf7c36
Showing
2 changed files
with
31 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
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,29 @@ | ||
name: Release Sherlock Platform prebuilt | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-platform: | ||
uses: ./.github/workflows/build.yml | ||
|
||
release: | ||
needs: build-platform | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Download Artifacts from Build Workflow | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: sherlock-platform-artifacts | ||
|
||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
sherlock-platform-artifacts/* | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |