Skip to content

Commit

Permalink
chore: update some CI build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
nokazn committed Sep 28, 2024
1 parent f3a0218 commit 646ba59
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build
run: make apply/user

Expand All @@ -30,7 +29,6 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build
run: |
./scripts/backup.sh ./modules/files/files.txt
Expand All @@ -45,9 +43,10 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build
# TODO: ignore exit status because this step is unstable in macOS
# TODO: ignore exit status because this step is flaky in macOS
run: |
sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.bk
make apply/darwin || :
make apply/darwin || \
echo '❌ build-darwin job has failed.' >> $GITHUB_STEP_SUMMARY && \
echo '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }}' >> $GITHUB_STEP_SUMMARY

0 comments on commit 646ba59

Please sign in to comment.