Add dotnet 9.0 support (#228) #109
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
# If this file is renamed, the incrementing run attempt number will be reset. | |
name: CI | |
on: | |
push: | |
branches: [ "dev", "master" ] | |
pull_request: | |
branches: [ "dev", "master" ] | |
env: | |
CI_BUILD_NUMBER: ${{ github.run_number }} | |
CI_TARGET_BRANCH: ${{ github.head_ref || github.ref_name }} | |
#CI_COMMIT_TAG: "" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: Build and Publish | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
shell: pwsh | |
run: | | |
./Build.ps1 |