Skip to content

Commit

Permalink
attempt to release apk
Browse files Browse the repository at this point in the history
  • Loading branch information
rjawesome authored Jan 2, 2024
1 parent c838ef9 commit 18aff2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,23 @@ jobs:
- uses: subosito/flutter-action@v2
- run: flutter pub get
- run: flutter build apk

# release the apk
- name: Set current date as env variable
run: echo "NOW=\"$(git rev-parse --abbrev-ref HEAD) $(date +'%Y-%m-%dT%H:%M:%S')\"" >> $GITHUB_ENV
- name: tag snapshot
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.NOW }}
- name: create new release
uses: softprops/action-gh-release@v1
with:
files: "build/app/outputs/flutter-apk/app-release.apk"
name: OptixToolkit ${{ env.NOW }}
tag_name: ${{ env.NOW }}
draft: false
prerelease: false



0 comments on commit 18aff2a

Please sign in to comment.