File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,22 +146,25 @@ jobs:
146146 fail-fast : false
147147 matrix :
148148 include :
149+ # Archive names are derived from env.MCPP_VERSION in the Download
150+ # step — bumping the pin is a ONE-line change (hardcoded versions
151+ # here once 404'd a pin bump).
149152 - platform : linux
150153 os : ubuntu-latest
151- archive : mcpp-0.0.87- linux-x86_64.tar.gz
152- root : mcpp-0.0.87-linux-x86_64
154+ suffix : linux-x86_64
155+ ext : tar.gz
153156 mcpp : bin/mcpp
154157 xlings : registry/bin/xlings
155158 - platform : macos
156159 os : macos-15
157- archive : mcpp-0.0.87- macosx-arm64.tar.gz
158- root : mcpp-0.0.87-macosx-arm64
160+ suffix : macosx-arm64
161+ ext : tar.gz
159162 mcpp : bin/mcpp
160163 xlings : registry/bin/xlings
161164 - platform : windows
162165 os : windows-latest
163- archive : mcpp-0.0.87- windows-x86_64.zip
164- root : mcpp-0.0.87-windows-x86_64
166+ suffix : windows-x86_64
167+ ext : zip
165168 mcpp : bin/mcpp.exe
166169 xlings : registry/bin/xlings.exe
167170 steps :
@@ -178,8 +181,8 @@ jobs:
178181 - name : Download mcpp
179182 shell : bash
180183 env :
181- MCPP_ARCHIVE : ${{ matrix.archive }}
182- MCPP_ROOT : ${{ matrix.root }}
184+ MCPP_ARCHIVE : mcpp- ${{ env.MCPP_VERSION }}-${{ matrix.suffix }}.${{ matrix.ext }}
185+ MCPP_ROOT : mcpp- ${{ env.MCPP_VERSION }}-${{ matrix.suffix }}
183186 run : |
184187 curl -L -fsS -o "$MCPP_ARCHIVE" \
185188 "https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/${MCPP_ARCHIVE}"
You can’t perform that action at this time.
0 commit comments