found another way
All checks were successful
Build / nix-build (native-aarch64, varda) (push) Successful in 1m35s
Build / nix-build (native-x86_64, telchar) (push) Successful in 4m36s

This commit is contained in:
Joseph Hanson 2024-07-28 21:38:25 -05:00
parent 903d9fc052
commit 3b386222aa
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -18,28 +18,11 @@ jobs:
runs-on: ${{ matrix.os }}
env:
PATH: ${{ format('{0}:{1}', '/run/current-system/sw/bin', env.PATH) }}
SSH_DIR: /home/gitea-runner/.ssh
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@v4
with:
fetch-depth: 0
- name: Set up ssh key folder
run: |
mkdir -p $SSH_DIR
chmod 700 $SSH_DIR
- name: Write ssh key
id: sshkey
uses: https://github.com/timheuer/base64-to-file@v1
with:
encodedString: "${{ secrets.SSH_USER }}"
fileName: id_ed25519
fileDir: /home/gitea-runner/.ssh/
- name: Make id_ed25519 user only
shell: bash
run: |
chmod 600 $SSH_DIR/id_ed25519
fetch-depth: 0
- uses: https://github.com/cachix/cachix-action@v15
if: ${{ !github.event.pull_request.head.repo.fork }}
with: