Actions editing

This commit is contained in:
Ivan Bushchik 2022-01-13 18:12:56 +03:00
parent ea26034ba9
commit d6aa98debc

View file

@ -2,9 +2,7 @@ name: .NET
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
@ -25,7 +23,6 @@ jobs:
run: dotnet publish --runtime linux-x64 -o prepublish/linux-x64/ --self-contained -p:PublishSingleFile=true && mv prepublish/linux-x64/roulette publish/roulette-linux-x64
- name: Publish on linux-arm64
run: dotnet publish --runtime linux-arm64 -o prepublish/linux-arm64/ --self-contained -p:PublishSingleFile=true && mv prepublish/linux-arm64/roulette publish/roulette-linux-arm64
- name: Create Release
id: create_release
uses: actions/create-release@v1
@ -36,8 +33,6 @@ jobs:
release_name: EDITME
draft: True
prerelease: False
- name: Upload Release Asset for osx-x64
uses: actions/upload-release-asset@v1
env:
@ -47,7 +42,6 @@ jobs:
asset_path: publish/roulette-osx-x64
asset_name: roulette-osx-x64
asset_content_type: application/octet-stream
- name: Upload Release Asset for linux-x64
uses: actions/upload-release-asset@v1
env:
@ -57,7 +51,6 @@ jobs:
asset_path: publish/roulette-linux-x64
asset_name: roulette-linux-x64
asset_content_type: application/octet-stream
- name: Upload Release Asset for linux-arm64
uses: actions/upload-release-asset@v1
env: