Merge pull request #20 from DeterminateSystems/DS-970

DS-970: Add Magic Nix Cache and other workflow changes
This commit is contained in:
Ana Hobden 2023-07-24 07:59:40 -07:00 committed by GitHub
commit 749fc5bbc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
uses: DeterminateSystems/nix-installer-action@main
- name: Record existing bundle hash
run: |
echo "BUNDLE_HASH=$(sha256sum <dist/index.js | sed 's/ -//')" >>$GITHUB_ENV
@ -38,7 +38,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
narinfo-cache-negative-ttl = 0
@ -54,7 +54,7 @@ jobs:
# steps:
# - uses: actions/checkout@v3
# - name: Install Nix
# uses: DeterminateSystems/nix-installer-action@v4
# uses: DeterminateSystems/nix-installer-action@main
# with:
# extra-conf: |
# narinfo-cache-negative-ttl = 0