Update dotnet.yml

This commit is contained in:
Ivan Bushchik 2022-01-13 12:30:08 +03:00 committed by GitHub
parent 233257a908
commit 3e5b0af7d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,11 +18,11 @@ jobs:
- name: Test - name: Test
run: dotnet test --no-build --verbosity normal run: dotnet test --no-build --verbosity normal
- name: Publish on osx-x64 - name: Publish on osx-x64
run: dotnet publish --runtime osx-x64 -o publish/osx-x64/ --self-contained run: dotnet publish --runtime osx-x64 -o publish/osx-x64/ --self-contained -p:PublishSingleFile=true
- name: Publish on linux-x64 - name: Publish on linux-x64
run: dotnet publish --runtime linux-x64 -o publish/linux-x64/ --self-contained run: dotnet publish --runtime linux-x64 -o publish/linux-x64/ --self-contained -p:PublishSingleFile=true
- name: Publish on linux-arm64 - name: Publish on linux-arm64
run: dotnet publish --runtime linux-arm64 -o publish/linux-arm64/ --self-contained run: dotnet publish --runtime linux-arm64 -o publish/linux-arm64/ --self-contained -p:PublishSingleFile=true
- name: Compress to zip file - name: Compress to zip file
run: tar cf roulette.tar.gz publish/ run: tar cf roulette.tar.gz publish/
@ -34,8 +34,8 @@ jobs:
with: with:
tag_name: ${{ github.ref }} tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }} release_name: Release ${{ github.ref }}
draft: false draft: True
prerelease: True prerelease: False
- name: Upload Release Asset - name: Upload Release Asset
id: upload-release-asset id: upload-release-asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1