Skip to content

Commit

Permalink
Use 7z on windows runner
Browse files Browse the repository at this point in the history
  • Loading branch information
safalin1 committed Dec 27, 2023
1 parent 77e747f commit 82a07e6
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,13 @@ jobs:
- name: Publish desktop app
run: dotnet publish Tsukuru.NetCore/Tsukuru.csproj

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Package
path: Tsukuru.NetCore\bin\Release\net8.0-windows\publish\

- name: Zip artifact
uses: montudor/action-zip@v1
with:
args: zip -qq -r Tsukuru.zip Tsukuru.NetCore\bin\Release\net8.0-windows\publish\
- name: Zip build artifacts
run: 7z a -tzip package_release/Tsukuru.zip Tsukuru.NetCore\bin\Release\net8.0-windows\publish\*

- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
files: |
Tsukuru.zip
package_release/Tsukuru.zip

0 comments on commit 82a07e6

Please sign in to comment.