You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
676 B
32 lines
676 B
2 years ago
|
on:
|
||
|
push:
|
||
|
branches: [ main ]
|
||
|
pull_request:
|
||
|
branches: [ main ]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: windows-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- name: Set up .NET
|
||
|
uses: actions/setup-dotnet@v3
|
||
|
with:
|
||
|
dotnet-version: '6.0.x'
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: dotnet restore
|
||
|
|
||
|
- name: Build
|
||
|
run: dotnet build --configuration Release --no-restore
|
||
|
|
||
|
- name: Upload Artifacts
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: build
|
||
|
path: |
|
||
|
bin/Release/net6.0/win-x64/publish/
|
||
|
bin/Release/net6.0/win-x86/publish/
|