From eef034c5a23d716e53f39c3bc9a4c71a59b3b85c Mon Sep 17 00:00:00 2001 From: Georg Jung Date: Mon, 20 Jun 2022 19:16:46 +0200 Subject: [PATCH] Fix CD --- .github/workflows/cd.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7436cc8..664bf8a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -8,7 +8,7 @@ on: - '**.md' permissions: - contents: read + contents: write packages: write jobs: @@ -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/nbgv@v0.4.0 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