Skip to content

Commit

Permalink
Use preinstalled 7-zip to avoid Scoop errors in CI (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Feb 10, 2022
1 parent 4c90d14 commit ac7d591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/rust/sccache/setup-sccache-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ runs:
shell: pwsh
run: |
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
# use preinstalled 7-zip to avoid unreliable installs
scoop config '7ZIPEXTRACT_USE_EXTERNAL' $true
scoop install sccache
echo "${HOME}/scoop/apps/sccache/current" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- epic/*
paths:
- '.github/workflows/build-and-test.yml'
- '.github/actions'
- '.github/actions/**'
- '**.rs'
- '**.toml'

Expand Down

0 comments on commit ac7d591

Please sign in to comment.