Skip to content

Commit

Permalink
GH Action Tag Fix (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakrifor authored Mar 25, 2021
1 parent 7966cce commit 9f832d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Get Tag
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/setup-java@v1
with:
java-version: '11.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: flutter pub get
- run: flutter build apk --split-per-abi --build-name ${{ steps.vars.outputs.tag }}
- run: flutter build apk --split-per-abi --build-name $RELEASE_VERSION
- name: Create a Release APK
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 9f832d9

Please sign in to comment.