Skip to content

Commit

Permalink
Cache NASM
Browse files Browse the repository at this point in the history
  • Loading branch information
phaubertin committed Oct 19, 2024
1 parent b10b0a0 commit c35072c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build-i686.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,22 @@ jobs:

- name: Install dependencies
run: sudo apt-get install -y gcc-multilib

- name: Cache NASM
id: cache-nasm
uses: actions/cache@v3
with:
key: 'nasm-${{ env.nasmVersion }}'
path: '~/nasm'

- uses: ilammy/setup-nasm@v1
- if: ${{ steps.cache-nasm.outputs.cache-hit != 'true' }}
name: Install NASM
uses: ilammy/setup-nasm@v1
with:
version: '${{ env.nasmVersion }}'

- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down

0 comments on commit c35072c

Please sign in to comment.