diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c00fdf1..21d5150 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -20,31 +20,10 @@ jobs: with: access_token: ${{ github.token }} - free-disk-space: - runs-on: ubuntu-latest - needs: cancel - steps: - - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@main - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - - # all of these default to true, but feel free to set to - # "false" if necessary for your workflow - android: true - dotnet: true - haskell: true - large-packages: true - docker-images: true - swap-storage: true - deploy: # The type of runner that the job will run on runs-on: ubuntu-latest - needs: free-disk-space + needs: cancel if: github.event_name != 'pull_request' strategy: matrix: @@ -59,6 +38,22 @@ jobs: # distro: bionic # base_image: nvidia/opengl:1.2-glvnd-runtime-ubuntu18.04 steps: + + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + + # all of these default to true, but feel free to set to + # "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Set up QEMU uses: docker/setup-qemu-action@v3