mirror of
https://github.com/zhaofengli/attic.git
synced 2024-12-15 17:50:57 +00:00
.github: Bump DetSys installer
This commit is contained in:
parent
63019bb208
commit
f36f01d431
2 changed files with 3 additions and 16 deletions
10
.github/workflows/book.yml
vendored
10
.github/workflows/book.yml
vendored
|
@ -18,14 +18,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.0.2
|
- uses: actions/checkout@v3.0.2
|
||||||
|
|
||||||
- name: Obtain current username
|
- uses: DeterminateSystems/nix-installer-action@v1
|
||||||
run: |
|
continue-on-error: true # Self-hosted runners already have Nix installed
|
||||||
echo ACTION_USER=$USER >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@2ec668c45628a4029e59357600d6b73107b0843b
|
|
||||||
with:
|
|
||||||
extra-conf: |
|
|
||||||
trusted-users = root ${{ env.ACTION_USER }}
|
|
||||||
|
|
||||||
- name: Install Attic
|
- name: Install Attic
|
||||||
run: ./.github/install-attic-ci.sh
|
run: ./.github/install-attic-ci.sh
|
||||||
|
|
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -13,15 +13,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.3.0
|
- uses: actions/checkout@v3.3.0
|
||||||
|
|
||||||
- name: Obtain current username
|
- uses: DeterminateSystems/nix-installer-action@v1
|
||||||
run: |
|
|
||||||
echo ACTION_USER=$USER >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@2ec668c45628a4029e59357600d6b73107b0843b
|
|
||||||
continue-on-error: true # Self-hosted runners already have Nix installed
|
continue-on-error: true # Self-hosted runners already have Nix installed
|
||||||
with:
|
|
||||||
extra-conf: |
|
|
||||||
trusted-users = root ${{ env.ACTION_USER }}
|
|
||||||
|
|
||||||
- name: Install Attic
|
- name: Install Attic
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue