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 7474 container : ${{ (matrix.os == 'ubuntu-22.04' && 'ubuntu:20.04') || null }} # Use the Ubuntu 20.04 container inside Ubuntu 22.04 runner to build
7575 steps :
7676 - uses : actions/checkout@v4
77- - uses : actions/setup-python@v5
78- with :
79- python-version : ${{ matrix.python_version }}
8077 - name : Read the mozilla-central commit hash to be used
8178 run : echo "MOZCENTRAL_VERSION=$(cat mozcentral.version)" >> $GITHUB_ENV
8279 - name : Cache spidermonkey build
@@ -88,12 +85,16 @@ jobs:
8885 key : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
8986 lookup-only : true # skip download
9087 - name : Setup container
91- if : ${{ matrix.os == 'ubuntu-22.04' }}
88+ if : ${{ matrix.os == 'ubuntu-22.04' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
9289 run : |
9390 apt-get update -y
9491 apt-get install -y sudo
9592 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
9693 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 }}
9798 - name : Setup XCode
9899 if : ${{ matrix.os == 'macos-13' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
99100 # SpiderMonkey requires XCode SDK version at least 13.3
You can’t perform that action at this time.
0 commit comments