Skip to content

Commit

Permalink
[cd] Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmark1 committed May 2, 2024
1 parent 150baa3 commit 4b4148d
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 4b4148d

Please sign in to comment.