Skip to content

Switch .NET SDK to 9.0 #149

Switch .NET SDK to 9.0

Switch .NET SDK to 9.0 #149

Workflow file for this run

name: build
on:
- workflow_dispatch
- push
env:
BuildConfiguration: Release
BuildVersion: 2.24.0.${{ github.run_number }}
jobs:
build:
name: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
# - uses: actions/cache@v4
# with:
# path: ~/.nuget/packages
# key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
# restore-keys: |
# ${{ runner.os }}-nuget-
# - uses: actions/cache@v4
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
- name: Run Build.ps1
run: >
./Build/Build.ps1
-Configuration "${{ env.BuildConfiguration }}"
-Version "${{ env.BuildVersion }}"
-BranchName "${{ github.ref_name }}"
-CoverageBadgeUploadToken "${{ secrets.COVERAGE_BADGE_UPLOAD_TOKEN }}"
- name: Upload Packages artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: Packages
path: |
Build/Output/*.nupkg
Build/Output/*.zip
- name: Upload TestOutput artifacts
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: TestOutput
path: |
Build/Output/TestResults/**
Build/Output/TestCoverage/**