Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Mar 5, 2022
1 parent 7505024 commit 6499a6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Flutter build

on: [push]
on: [push, release]

jobs:
build-apk:
Expand Down Expand Up @@ -212,12 +212,12 @@ jobs:
git config --global user.name "Actions"
git pull --tags
- name: Retag stable
if: github.ref == 'refs/heads/main'
if: startsWith(github.ref, 'refs/tags/v') && github.event.release.prerelease
run: |
git tag -fa stable -m "Find all stable releases here"
git push origin stable -f
- name: Retag nightly
if: github.ref == 'refs/heads/develop'
if: startsWith(github.ref, 'refs/tags/v') && !github.event.release.prerelease
run: |
git tag -fa nightly -m "Find all nightly releases here"
git push origin nightly -f
Expand Down

1 comment on commit 6499a6a

@vercel
Copy link

@vercel vercel bot commented on 6499a6a Mar 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.