Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
nirajprakash committed Mar 4, 2023
1 parent b075677 commit 202b138
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# 1
- uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
Expand All @@ -18,11 +19,16 @@ jobs:
name: release.apk
path: downloads
if_no_artifact_found: fail

# 8
# 2
- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::UserBuild_$(date +"%Y.%m.%d_%H-%M")"
# 3
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: downloads/release.apk

0 comments on commit 202b138

Please sign in to comment.