summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-10-26 17:11:55 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-10-26 17:11:55 +0800
commite220eef3f3fef4abed85807f8606b1c92527f950 (patch)
tree38e5aa176f366f866680643b7aaa6df71ee632b7 /.github
parentea93ac3efe09e043c6e6711abd0611a5d5af7228 (diff)
fix: see if releases work now with a different create-release action
We are only interested in the upload_url, not in actually creating a release as smart-release does that already.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 06c235a..0b4fd30 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -37,13 +37,16 @@ jobs:
- name: Create GitHub release
id: release
- uses: actions/create-release@v1
+ uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tag_name: ${{ env.ARTIFACT_VERSION }}
- release_name: ${{ env.ARTIFACT_VERSION }}
- continue-on-error: true
+ tag: ${{ env.ARTIFACT_VERSION }}
+ name: ${{ env.ARTIFACT_VERSION }}
+ allowUpdates: true
+ omitBody: true
+ omitPrereleaseDuringUpdate: true
+ token: ${{ secrets.GITHUB_TOKEN }}
- name: Save release upload URL to artifact
run: echo "${{ steps.release.outputs.upload_url }}" > artifacts/release-upload-url