From 2c0a2399038b5972572a7e09293416b7ffa02b07 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 14 Feb 2024 14:12:33 +0100 Subject: [PATCH] ci: fix release --- .github/workflows/release.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c919b95..0567a76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,9 @@ permissions: contents: read jobs: - release: + nuget-release: runs-on: windows-latest timeout-minutes: 15 - permissions: - contents: write env: CONFIGURATION: Release @@ -60,7 +58,21 @@ jobs: env: NUGET_SOURCE: https://api.nuget.org/v3/index.json NUGET_KEY: ${{ secrets.NUGET_API_KEY }} + + gh-release: + needs: + - nuget-release + runs-on: ubuntu-latest + timeout-minutes: 15 + permissions: + contents: write + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + fetch-depth: 0 # needed so minver finds git tags https://github.com/actions/checkout/issues/172 + filter: blob:none # We don't need all blobs + - name: prepare version run: echo VERSION=${GITHUB_REF_NAME#v} >> $GITHUB_ENV