Skip to content

Commit 338f949

Browse files
committed
Try fixing the SpiderMonkey build artifact caching
Not entirely sure why it's not working already, so this is more vague spelunking than anything else. Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
1 parent bb7b400 commit 338f949

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@ jobs:
7272
CTEST_OUTPUT_ON_FAILURE: 1
7373
run: ctest --test-dir cmake-build-${{ matrix.build }} --verbose --no-tests=error
7474

75-
- name: Set up cacheable SpiderMonkey artifacts
75+
- name: Show cacheable SpiderMonkey artifacts
7676
if: steps.sm-cache.outputs.cache-hit != 'true'
7777
run: |
78-
mkdir -p spidermonkey-dist
79-
ln -s cmake-build-${{ matrix.build }}/spidermonkey/dist/libspidermonkey.a spidermonkey-dist/
80-
ln -s cmake-build-${{ matrix.build }}/spidermonkey/dist/include spidermonkey-dist/
78+
ls -l cmake-build-${{ matrix.build }}/spidermonkey/dist/libspidermonkey.a
79+
tree cmake-build-${{ matrix.build }}/spidermonkey/dist/include
8180
8281
# Upload tarball as an artifact of the github action run, so the output
8382
# can be inspected for pull requests.
@@ -87,4 +86,6 @@ jobs:
8786
&& steps.sm-cache.outputs.cache-hit != 'true'
8887
with:
8988
name: spidermonkey-${{ matrix.build }}
90-
path: spidermonkey-dist/*
89+
path: |
90+
cmake-build-${{ matrix.build }}/spidermonkey/dist/libspidermonkey.a
91+
cmake-build-${{ matrix.build }}/spidermonkey/dist/include

0 commit comments

Comments
 (0)