Skip to content

Commit

Permalink
Try only tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wawrzek committed Jul 15, 2024
1 parent 83d29d4 commit 7d9971c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,13 @@ jobs:
echo '### Enclave Image Measurement' >> $GITHUB_STEP_SUMMARY
cat target/release/enclave_measurement.txt >> $GITHUB_STEP_SUMMARY
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: main

- name: Make release
uses: ncipollo/release-action@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
artifacts: target/release/service, target/release/glove.eif
makeLatest: true
prerelease: true # For now
files: |
target/release/service
target/release/glove.eif
make_latest: true
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}

0 comments on commit 7d9971c

Please sign in to comment.