diff --git a/.github/workflows/why2-test.yml b/.github/workflows/why2-test.yml index 33d5301..05976c0 100644 --- a/.github/workflows/why2-test.yml +++ b/.github/workflows/why2-test.yml @@ -31,6 +31,12 @@ jobs: sudo apt update sudo apt upgrade + - if: matrix.os == 'ubuntu-latest' + name: Setup SWAP + uses: pierotofy/set-swap-space@master + with: + swap-size-gb: 10 + - name: Permissions run: | chmod +x ${{ matrix.configure }} @@ -74,12 +80,6 @@ jobs: sudo apt update sudo apt upgrade - - if: matrix.os == 'ubuntu-latest' - name: Setup SWAP - uses: pierotofy/set-swap-space@master - with: - swap-size-gb: 10 - - name: Permissions run: | chmod +x ${{ matrix.configure }}