Skip to content

Commit

Permalink
Move artifacts download after tag delete
Browse files Browse the repository at this point in the history
Signed-off-by: Mary Guillemard <mary@mary.zone>
  • Loading branch information
marysaka committed Sep 7, 2024
1 parent 4e7c6b8 commit 2846fa9
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
Expand Up @@ -56,9 +56,6 @@ jobs:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

- name: Download binaries
uses: actions/download-artifact@v4

- name: Checkout source for nightly release removal
uses: actions/checkout@v4
Expand All @@ -71,6 +68,9 @@ jobs:
gh release delete latest -y || true
git push --delete origin latest
- name: Download binaries
uses: actions/download-artifact@v4

- name: Release nightly
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 2846fa9

Please sign in to comment.