Skip to content

Commit

Permalink
Update build.yml with proper scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparkrai authored Jun 9, 2024
1 parent b6dcb8e commit 425f31f
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,6 @@ on:
pull_request:
workflow_dispatch: # allow manually triggering builds
jobs:
free-disk-space:
runs-on: ubuntu-latest
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: false
swap-storage: true
bluebuild:
name: Build Custom Image
runs-on: ubuntu-latest
Expand All @@ -42,6 +24,21 @@ jobs:
# !! Add your recipes here
- recipe.yml
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: false
swap-storage: true
# the build is fully handled by the reusable github action
- name: Build Custom Image
uses: blue-build/[email protected]
Expand Down

0 comments on commit 425f31f

Please sign in to comment.