Skip to content

chore (Build): Update to upload-artifact@v4, v3 is deprecated. #65

chore (Build): Update to upload-artifact@v4, v3 is deprecated.

chore (Build): Update to upload-artifact@v4, v3 is deprecated. #65

Workflow file for this run

name: .NET
on:
push:
# branches: [ "master","" ]
pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
#fetch depth 0 or gitversion breaks since it can't obtain the required tags etc.
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Build
run: |
./build.ps1 publish
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: app
path: artifacts/