mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
fix for buildjet
This commit is contained in:
6
.github/actions/setup-build/action.yml
vendored
6
.github/actions/setup-build/action.yml
vendored
@@ -47,6 +47,12 @@ runs:
|
||||
sudo rm -rf /usr/share/swift
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
|
||||
# BuildJet runners lack /opt/hostedtoolcache, which actions/setup-python requires
|
||||
- name: Ensure hostedtoolcache exists
|
||||
if: inputs.setup-python == 'true'
|
||||
shell: bash
|
||||
run: sudo mkdir -p /opt/hostedtoolcache && sudo chown $USER:$USER /opt/hostedtoolcache
|
||||
|
||||
- name: Set up Python
|
||||
if: inputs.setup-python == 'true'
|
||||
uses: actions/setup-python@v5
|
||||
|
||||
Reference in New Issue
Block a user