From 5916891b780cb764f4f774502d63595d4806456a Mon Sep 17 00:00:00 2001 From: Joonas Onatsu Date: Fri, 13 Dec 2024 17:47:31 +0200 Subject: [PATCH] test --- .github/workflows/build.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c15d01..646d55e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: with: # this might remove tools that are actually needed, # if set to "true" but frees about 6 GB - tool-cache: false + tool-cache: true # all of these default to true, but feel free to set to # "false" if necessary for your workflow @@ -99,24 +99,22 @@ jobs: env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock run: | - echo "Configure Git" - git config --global user.email "actions@github.com" - git config --global user.name "GitHub Actions" - - echo "Configure SSH" SSH_DIR=$HOME/.ssh + mkdir -p $SSH_DIR chmod 0700 $SSH_DIR - echo "Add GitHub to known hosts" ssh-keyscan -t ed25519 -H github.com > $SSH_DIR/known_hosts chmod 600 $SSH_DIR/known_hosts - echo "Install RA deployment token" echo "${{ secrets.RA_TOKEN }}" > $SSH_DIR/id_rsa chmod 600 $SSH_DIR/id_rsa + ssh-agent -a $SSH_AUTH_SOCK > /dev/null ssh-add $SSH_DIR/id_rsa + + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" - name: Build id: build env: