mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-26 01:12:17 +01:00
Merge pull request #20 from DeterminateSystems/DS-970
DS-970: Add Magic Nix Cache and other workflow changes
This commit is contained in:
commit
749fc5bbc9
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v4
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
- name: Record existing bundle hash
|
- name: Record existing bundle hash
|
||||||
run: |
|
run: |
|
||||||
echo "BUNDLE_HASH=$(sha256sum <dist/index.js | sed 's/ -//')" >>$GITHUB_ENV
|
echo "BUNDLE_HASH=$(sha256sum <dist/index.js | sed 's/ -//')" >>$GITHUB_ENV
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v4
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
extra-conf: |
|
extra-conf: |
|
||||||
narinfo-cache-negative-ttl = 0
|
narinfo-cache-negative-ttl = 0
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
# - name: Install Nix
|
# - name: Install Nix
|
||||||
# uses: DeterminateSystems/nix-installer-action@v4
|
# uses: DeterminateSystems/nix-installer-action@main
|
||||||
# with:
|
# with:
|
||||||
# extra-conf: |
|
# extra-conf: |
|
||||||
# narinfo-cache-negative-ttl = 0
|
# narinfo-cache-negative-ttl = 0
|
||||||
|
|
Loading…
Reference in a new issue