mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
update ssh-setup-action
This commit is contained in:
parent
5fd09508f4
commit
36458fe994
2 changed files with 18 additions and 6 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -30,6 +30,13 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# needed to access ghostty repo for now
|
||||||
|
- name: Setup SSH
|
||||||
|
uses: MrSquaare/ssh-setup-action@v3
|
||||||
|
with:
|
||||||
|
host: github.com
|
||||||
|
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
- uses: ./.github/actions/clean-disk
|
- uses: ./.github/actions/clean-disk
|
||||||
with:
|
with:
|
||||||
purge-packages: 'true'
|
purge-packages: 'true'
|
||||||
|
@ -43,10 +50,15 @@ jobs:
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@v8
|
- uses: DeterminateSystems/magic-nix-cache-action@v8
|
||||||
|
|
||||||
- uses: cachix/cachix-action@v15
|
# - name: Install and login to attic cache
|
||||||
with:
|
# run: |
|
||||||
name: daylin
|
# nix profile install "nixpkgs#attic-client"
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
# attic login oizys https://attic.dayl.in "${{ secrets.ATTIC_TOKEN }}"
|
||||||
|
|
||||||
|
# - uses: cachix/cachix-action@v15
|
||||||
|
# with:
|
||||||
|
# name: daylin
|
||||||
|
# authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- name: write lock file
|
- name: write lock file
|
||||||
if: "${{ inputs.lockFile != '' }}"
|
if: "${{ inputs.lockFile != '' }}"
|
||||||
|
|
4
.github/workflows/update.yml
vendored
4
.github/workflows/update.yml
vendored
|
@ -20,8 +20,9 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# needed to access ghostty repo for now
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: MrSquaare/ssh-setup-action@v1
|
uses: MrSquaare/ssh-setup-action@v3
|
||||||
with:
|
with:
|
||||||
host: github.com
|
host: github.com
|
||||||
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
@ -38,7 +39,6 @@ jobs:
|
||||||
experimental-features = pipe-operator
|
experimental-features = pipe-operator
|
||||||
accept-flake-config = true
|
accept-flake-config = true
|
||||||
|
|
||||||
|
|
||||||
- name: Install and login to attic cache
|
- name: Install and login to attic cache
|
||||||
run: |
|
run: |
|
||||||
nix profile install "nixpkgs#attic-client"
|
nix profile install "nixpkgs#attic-client"
|
||||||
|
|
Loading…
Reference in a new issue