Skip to content

Commit

Permalink
Skip max build space on verify flake
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jul 25, 2024
1 parent a51c826 commit 844952a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/actions/common-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ inputs:
cachix-token:
description: 'The Cachix token to use for caching'
required: true
maximise-build-space:
description: 'Whether to maximise build space'
required: false
default: 'true'
runs:
using: composite
steps:
- name: Maximize build space
if: runner.os == 'Linux'
if: runner.os == 'Linux' && inputs.maximise-build-space == 'true'
uses: AdityaGarg8/remove-unwanted-software@v2
with:
remove-dotnet: 'true'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- uses: ./.github/actions/common-setup
with:
cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
maximise-build-space: false

- name: Check formatting
run: nix fmt . -- --check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
# Lair Keystore
- name: Check Lair Keystore for x86_64-unknown-linux-gnu
run: |
gh release download ${{ inputs.check-tag }} --pattern 'lair-keystore-x86_64-linux'
gh release download ${{ inputs.check-tag }} --pattern 'lair-keystore-x86_64-linux' --repo holochain/holochain
./lair-keystore-x86_64-linux --version

0 comments on commit 844952a

Please sign in to comment.