Skip to content

Commit

Permalink
Fix CD
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-jung committed Jun 20, 2022
1 parent 9d3dafc commit eef034c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '**.md'

permissions:
contents: read
contents: write
packages: write

jobs:
Expand All @@ -23,17 +23,24 @@ jobs:
runs-on: ubuntu-latest
needs: [docker-build, standalone-build]
steps:
- uses: actions/download-artifact@v3
with:
path: artifacts
- uses: actions/checkout@v3
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- uses: dotnet/[email protected]
id: nbgv
- uses: actions/download-artifact@v3
with:
path: artifacts
- name: ZIP artifacts
run: |
7z a artifacts/fdd.zip artifacts/fdd/*
7z a artifacts/win-x86.zip artifacts/win-x86/*
7z a artifacts/win-x86-iis.zip artifacts/win-x86-iis/*
7z a artifacts/win-arm.zip artifacts/win-arm/*
7z a artifacts/linux-x64.zip artifacts/linux-x64/*
- uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.nbgv.outputs.SemVer2 }}
draft: true
prerelease: false
files: artifacts/*
files: artifacts/*.zip

0 comments on commit eef034c

Please sign in to comment.