Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
keton committed Feb 7, 2024
1 parent d502d46 commit 2efd3bc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ name: .NET

on: [push]

permissions:
contents: write

jobs:
build:
runs-on: windows-latest
Expand All @@ -23,3 +26,11 @@ jobs:
name: chihuahua
path: ${{github.workspace}}/bin/Release/net8.0/win-x64/publish/*.*
if-no-files-found: error
- name: Compress artifacts
if: startsWith(github.ref, 'refs/tags/')
run: 7z a ${{github.workspace}}/chihuahua.zip ${{github.workspace}}/bin/Release/net8.0/win-x64/publish/*.*
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: chihuahua.zip

0 comments on commit 2efd3bc

Please sign in to comment.