Merge pull request #25 from CDEApp/feat/pkg-bump #68
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: .NET | |
on: | |
push: | |
# branches: [ "master","" ] | |
pull_request: | |
# branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
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@v4 | |
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/ |