Update README.md #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Development Application | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-publish: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: "6.x" # Change this to the desired .NET version | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build and publish | |
run: dotnet publish -c Release --self-contained --runtime win-x64 -p:PublishSingleFile=true | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Published Application | |
path: TarkovMonitor\bin\Release\net6.0-windows\win-x64\publish\* |