Skip to content

Improve CI to make sure minimal checks are done before merge #13

Improve CI to make sure minimal checks are done before merge

Improve CI to make sure minimal checks are done before merge #13

Workflow file for this run

name: Pack
on:
pull_request:
jobs:
pack:
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: echo "${{ github.event.pull_request.number }}"
- run: |
.github/scripts/pack.ps1 \
-PullRequestNumber ${{ github.event.pull_request.number }} \
-KeyPath "$pwd/private.snk"
shell: pwsh
- if: env.NUGET_API_KEY != ''
run: .github/bin/dist-nuget.sh
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}