Skip to content

update tagname again #250

update tagname again

update tagname again #250

Workflow file for this run

name: build
on:
- push
jobs:
android:
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- uses: actions/[email protected]
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- 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')\" TAG=$(date +%s)" >> $GITHUB_ENV
- name: tag snapshot
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.TAG }}
- 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.TAG }}
draft: false
prerelease: false