File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 74
74
container : ${{ (matrix.os == 'ubuntu-22.04' && 'ubuntu:20.04') || null }} # Use the Ubuntu 20.04 container inside Ubuntu 22.04 runner to build
75
75
steps :
76
76
- uses : actions/checkout@v4
77
- - uses : actions/setup-python@v5
78
- with :
79
- python-version : ${{ matrix.python_version }}
80
77
- name : Read the mozilla-central commit hash to be used
81
78
run : echo "MOZCENTRAL_VERSION=$(cat mozcentral.version)" >> $GITHUB_ENV
82
79
- name : Cache spidermonkey build
@@ -88,12 +85,16 @@ jobs:
88
85
key : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
89
86
lookup-only : true # skip download
90
87
- name : Setup container
91
- if : ${{ matrix.os == 'ubuntu-22.04' }}
88
+ if : ${{ matrix.os == 'ubuntu-22.04' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
92
89
run : |
93
90
apt-get update -y
94
91
apt-get install -y sudo
95
92
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
96
93
echo "RUNNER_TOOL_CACHE=/" >> $GITHUB_ENV # do not use the Python installation cached for Ubuntu 22.04
94
+ - uses : actions/setup-python@v5
95
+ if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
96
+ with :
97
+ python-version : ${{ matrix.python_version }}
97
98
- name : Setup XCode
98
99
if : ${{ matrix.os == 'macos-13' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
99
100
# SpiderMonkey requires XCode SDK version at least 13.3
You can’t perform that action at this time.
0 commit comments