Improve CI to make sure minimal checks are done before merge #38
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: Publish Test | |
on: | |
pull_request: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: 8.0.100 | |
- run: echo "${{ secrets.SNK_FILE }}" | base64 --decode > private.snk | |
- run: | | |
dotnet publish \ | |
-p:TreatWarningsAsErrors=true \ | |
-p:AssemblyOriginatorKeyFile=$(pwd)/private.snk |