From 3b386222aad7cd3b707ef4f27e9e06bccbcb882b Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sun, 28 Jul 2024 21:38:25 -0500 Subject: [PATCH] found another way --- .forgejo/workflows/build.yaml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4979377..d32b643 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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: