Skip to content

Commit

Permalink
Automatically attach binaries to a release (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez authored Dec 12, 2024
1 parent 434e96a commit d743974
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
- name: Download artefacts
uses: actions/download-artifact@v4

# Create/update the "latest" release
- uses: ncipollo/release-action@v1
with:
name: Latest Nimble Binaries
Expand All @@ -111,6 +112,17 @@ jobs:
prerelease: true
tag: latest

# Create a versioned release if this is a tag push
- if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1
with:
name: Nimble ${{ github.ref_name }}
artifacts: "*/*"
allowUpdates: true
makeLatest: true
prerelease: false
tag: ${{ github.ref_name }}

- name: Delete artefacts
uses: geekyeggo/delete-artifact@v5
with:
Expand Down

0 comments on commit d743974

Please sign in to comment.