Skip to content

Commit a4c5b21

Browse files
committed
BUG: env does not seem to be expanded in copilot-setup-steps.yml
Manually put version information into the external data filename.
1 parent e168c03 commit a4c5b21

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Setup ITK Development Environment
1+
name: Copilot (Setup ITK DevEnv)
22

33
# Automatically run the setup steps when they are changed to allow for easy validation, and
44
# allow manual testing through the repository's "Actions" tab
@@ -11,9 +11,6 @@ on:
1111
paths:
1212
- .github/workflows/copilot-setup-steps.yml
1313

14-
env:
15-
ExternalDataVersion: 5.4.5
16-
1714
jobs:
1815
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
1916
copilot-setup-steps:
@@ -46,9 +43,9 @@ jobs:
4643

4744
- name: Download testing data
4845
run: |
49-
curl -L https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${{ env.ExternalDataVersion }}/InsightData-${{ env.ExternalDataVersion }}.tar.gz -O
50-
cmake -E tar xfz InsightData-${{ env.ExternalDataVersion }}.tar.gz
51-
cmake -E rename InsightToolkit-${{ env.ExternalDataVersion }}/.ExternalData/CID ${{ github.workspace }}/.ExternalData/CID
46+
curl -L https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.4.5/InsightData-5.4.5.tar.gz -O
47+
cmake -E tar xfz InsightData-5.4.5.tar.gz
48+
cmake -E rename InsightToolkit-5.4.5/.ExternalData/CID ${{ github.workspace }}/.ExternalData/CID
5249
5350
- name: Set up Pixi
5451
uses: prefix-dev/setup-pixi@v0.8.1

0 commit comments

Comments
 (0)