Skip to content

Commit

Permalink
Try another plugin (#13)
Browse files Browse the repository at this point in the history
This time automate tag creation (hopefully with sha as a version).
  • Loading branch information
wawrzek authored Jul 13, 2024
1 parent ad92357 commit 963a982
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Build for PR
on:
pull_request:
branches: [ "main" ]
paths-ignore:
- devops
- '**/*.github' # doesn't work

env:
CARGO_TERM_COLOR: always
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,20 @@ 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 }}
pre_release_branches: main
append_to_pre_release_tag: test
custom_tag: ${{ github.sha }}

- name: Make release
uses: ncipollo/release-action@v1
with:
artifacts: target/release/service, target/release/glove.eif
makeLatest: true
prerelease: true # For now
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}

0 comments on commit 963a982

Please sign in to comment.