From 7d9971cce39728715ec9765fa6105e956d0e2409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wawrzyniec=20=27Wawrzek=27=20Niewodnicza=C5=84ski?= Date: Mon, 15 Jul 2024 11:05:01 +0100 Subject: [PATCH] Try only tags --- .github/workflows/release.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d6262a..6a9c040 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/github-tag-action@v6.2 - 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 }}