This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
Update README.md #278
Workflow file for this run
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: | |
branches: | |
- main | |
- features/** | |
tags: | |
- '*.*.*' | |
pull_request: | |
env: | |
DOTNET_NOLOGO: true | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
runs-on: [macOS-latest, ubuntu-latest, windows-latest] | |
name: ${{ matrix.runs-on }} | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@af513c7a016048ae468971c52ed77d9562c7c819 | |
- run: dotnet --info | |
- if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu') | |
run: ./build.sh | |
- if: matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/') | |
run: ./build.ps1 | |
- if: (matrix.runs-on == 'windows-latest') && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/')) | |
env: | |
SignClientSecret: ${{ secrets.SIGNCLIENT }} | |
run: | | |
./build.ps1 sign | |
dotnet nuget push .\nuget\*.nupkg -s https://www.myget.org/F/identity/api/v2/package -k ${{ secrets.MYGET }} |