Skip to content

Commit

Permalink
Cache the built package
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Mar 1, 2024
1 parent 101fdd2 commit 03703eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ jobs:
if: steps.nodejs_shared_cache.outputs.cache-hit != 'true'
run: sudo -u $UNPRIVILEGED build/archlinux/nodejs-shared/build

- name: Cache nodejs-shared package
if: steps.nodejs_shared_cache.outputs.cache-hit != 'true'
uses: actions/cache/restore@v4
with:
path: build/archlinux/nodejs-shared/${{ steps.nodejs_shared_pkgbuild.outputs.pkg }}
key: ${{ steps.nodejs_shared_pkgbuild.outputs.pkg }}

- name: Install nodejs-shared
run: pacman -U --noconfirm build/archlinux/nodejs-shared/${{ steps.nodejs_shared_pkgbuild.outputs.pkg }}

Expand Down

0 comments on commit 03703eb

Please sign in to comment.