Skip to content

Commit

Permalink
ci: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Feb 14, 2024
1 parent ac9eab9 commit 2c0a239
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ permissions:
contents: read

jobs:
release:
nuget-release:
runs-on: windows-latest
timeout-minutes: 15
permissions:
contents: write

env:
CONFIGURATION: Release
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2c0a239

Please sign in to comment.