diff --git a/.github/workflows/cupcake.yml b/.github/workflows/cupcake.yml index 35c01e8..46f7e42 100644 --- a/.github/workflows/cupcake.yml +++ b/.github/workflows/cupcake.yml @@ -2,6 +2,7 @@ name: nix on: pull_request: push: + branches: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -107,13 +108,18 @@ jobs: cmake-version: ${{ matrix.cmake }} - name: install Ninja on Linux if: matrix.generator == 'Ninja' && startsWith(matrix.platform, 'ubuntu') - run: sudo apt install ninja-build + run: | + sudo apt update + sudo apt install ninja-build - name: install Ninja on macOS if: matrix.generator == 'Ninja' && startsWith(matrix.platform, 'macos') run: brew install ninja - name: install GCC on Linux if: matrix.compiler == 'gcc' && startsWith(matrix.platform, 'ubuntu') - run: sudo apt install gcc-13 + run: | + sudo apt update + apt search gcc + sudo apt install gcc-13 - name: install GCC on macOS if: matrix.compiler == 'gcc' && startsWith(matrix.platform, 'macos') run: brew install gcc@13