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
21 changes: 21 additions & 0 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,31 @@ jobs:
- name: Restore dotnet tools
run: dotnet tool restore

# Cache the externals directory based on config.json content
# This caches the Maven artifacts downloaded by the binderator tool
# to avoid re-downloading the same artifacts on subsequent runs
- name: Restore externals cache
id: cache-externals-restore
uses: actions/cache/restore@v4
with:
path: ./externals
key: externals-${{ hashFiles('config.json') }}

- name: Run dotnet cake
run: dotnet cake
continue-on-error: true

# Save the externals cache after dotnet cake runs
# This ensures the cache reflects the original config.json state
# before any potential modifications by the build process
- name: Save externals cache
id: cache-externals-save
uses: actions/cache/save@v4
if: steps.cache-externals-restore.outputs.cache-hit != 'true'
with:
path: ./externals
key: externals-${{ hashFiles('config.json') }}

- name: Display environment info
run: |
echo "=== Environment Summary ==="
Expand Down
Loading