Skip to content

Commit 91cfd11

Browse files
committed
ci: setup Poetry when building SpiderMonkey
1 parent 863c070 commit 91cfd11

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
./_spidermonkey_install/*
4343
key: spidermonkey-${{ runner.os }}-${{ runner.arch }}
4444
lookup-only: true # skip download
45+
- name: Setup Poetry
46+
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
47+
uses: snok/install-poetry@v1
48+
with:
49+
version: 1.5.1
4550
- name: Build spidermonkey
4651
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
4752
run: ./setup.sh
@@ -57,6 +62,11 @@ jobs:
5762
./_spidermonkey_install/*
5863
key: spidermonkey-${{ runner.os }}-${{ runner.arch }}
5964
lookup-only: true # skip download
65+
- name: Setup Poetry
66+
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
67+
uses: snok/install-poetry@v1
68+
with:
69+
version: 1.5.1
6070
- name: Install dependencies
6171
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
6272
shell: powershell

0 commit comments

Comments
 (0)