Checks: don't do a slow, expensive, ineffective check of the binaries
This commit is contained in:
parent
fc80531e5e
commit
c75859eb75
36
.github/workflows/build.yaml
vendored
36
.github/workflows/build.yaml
vendored
|
@ -24,24 +24,6 @@ jobs:
|
|||
path: result/bin/nix-actions-cache
|
||||
retention-days: 1
|
||||
|
||||
check-artifacts-macOS:
|
||||
runs-on: macos-12
|
||||
needs: build-artifacts-macOS
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: nix-actions-cache-macOS
|
||||
path: cache-binary
|
||||
- name: Make the binary executable
|
||||
run: chmod +x ./cache-binary/nix-actions-cache
|
||||
- uses: DeterminateSystems/nix-installer-action-cache@main
|
||||
with:
|
||||
cache-binary: ./cache-binary/nix-actions-cache
|
||||
|
||||
- name: "Build something"
|
||||
run: "nix build .# -L"
|
||||
|
||||
build-artifacts-Linux:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
@ -59,21 +41,3 @@ jobs:
|
|||
name: nix-actions-cache-Linux
|
||||
path: result/bin/nix-actions-cache
|
||||
retention-days: 1
|
||||
|
||||
check-artifacts-Linux:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: build-artifacts-Linux
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: nix-actions-cache-Linux
|
||||
path: cache-binary
|
||||
- name: Make the binary executable
|
||||
run: chmod +x ./cache-binary/nix-actions-cache
|
||||
- uses: DeterminateSystems/nix-installer-action-cache@main
|
||||
with:
|
||||
cache-binary: ./cache-binary/nix-actions-cache
|
||||
|
||||
- name: "Build something"
|
||||
run: "nix build .# -L"
|
||||
|
|
Loading…
Reference in a new issue