Skip to content

Commit

Permalink
Update build-and-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdone committed Jun 17, 2024
1 parent bca5212 commit 5d44419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build --configuration Release --runtime any --no-restore

- name: Zip
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir ${{ github.event.repository.name }}
cp -a /bin/Release/net8.0/* ${{ github.event.repository.name }}
cp -a ./bin/Release/net8.0/* ${{ github.event.repository.name }}
zip -r ${{ github.event.repository.name }}.zip ${{ github.event.repository.name }}
- name: Publish
Expand Down

0 comments on commit 5d44419

Please sign in to comment.