Merge pull request #85 from GerardSmit/feature/symlink #106
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: ci | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
- 'img/**' | |
- 'changelog.md' | |
- 'readme.md' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Install .NET 8.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build, Test, Pack, Publish | |
if: matrix.os == 'windows-latest' | |
shell: bash | |
run: | | |
dotnet tool install -g dotnet-releaser --configfile .github/workflows/nuget_org_only.config | |
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml | |
- name: Build, Test | |
if: matrix.os == 'ubuntu-latest' | |
shell: bash | |
run: | | |
dotnet tool install -g dotnet-releaser --configfile .github/workflows/nuget_org_only.config | |
dotnet-releaser build src/dotnet-releaser.toml |