Skip to content

Commit

Permalink
Reorder release workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
MNThomson committed Oct 13, 2023
1 parent 9e30463 commit 5996bc3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ jobs:
with:
fetch-depth: 2

- name: Download binaries
uses: actions/download-artifact@v3
with:
name: built-binaries
path: bin

- name: Check if release should be created
shell: bash
run: |
Expand All @@ -111,6 +105,14 @@ jobs:
echo "SHOULD_RELEASE=yes" >> $GITHUB_ENV
fi
- name: Download binaries
uses: actions/download-artifact@v3
if: env.SHOULD_RELEASE == 'yes'
with:
name: built-binaries
path: bin

- name: Publish release
uses: softprops/action-gh-release@v1
if: env.SHOULD_RELEASE == 'yes'
Expand Down

0 comments on commit 5996bc3

Please sign in to comment.