Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/api-compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,13 @@ jobs:

- name: Download previous .nupkg + extract
shell: bash
# The resolved version arrives through env rather than template expansion, so a step
# output is never spliced into the script body (zizmor template-injection).
env:
PREV_VERSION: ${{ steps.nuget.outputs.version }}
run: |
set -euo pipefail
v='${{ steps.nuget.outputs.version }}'
v="$PREV_VERSION"
mkdir -p ./previous
curl -fsSL "https://api.nuget.org/v3-flatcontainer/wolfgang.trypattern/$v/wolfgang.trypattern.$v.nupkg" \
-o "./previous/wolfgang.trypattern.$v.nupkg"
Expand Down
Loading