From e220eef3f3fef4abed85807f8606b1c92527f950 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 26 Oct 2021 17:11:55 +0800 Subject: 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. --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3