From cd234259f7ba2f79ced91781a3d3998bee9c1408 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Wed, 7 Aug 2024 00:23:55 +0200 Subject: [PATCH] chore: Enable persisting credentials in GitHub workflows The `persist-credentials` option has been added to the GitHub workflows for Linux, macOS, and Windows builds. This ensures that the credentials used for deployment are persisted across workflow runs, improving the setup process for new users and ensuring that all necessary dependencies are included. --- .github/workflows/linux-alpha-build.yml | 1 + .github/workflows/macos-alpha-build.yml | 1 + .github/workflows/windows-alpha-build.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/linux-alpha-build.yml b/.github/workflows/linux-alpha-build.yml index 6195821a1..d11033750 100644 --- a/.github/workflows/linux-alpha-build.yml +++ b/.github/workflows/linux-alpha-build.yml @@ -28,6 +28,7 @@ jobs: with: submodules: recursive token: ${{ secrets.DEPLOY_KEY }} + persist-credentials: true # Give the runner some swap space in an attempt to stop gkrust from crashing the build - name: Set Swap Space diff --git a/.github/workflows/macos-alpha-build.yml b/.github/workflows/macos-alpha-build.yml index 48c18e367..cf6a9d7a3 100644 --- a/.github/workflows/macos-alpha-build.yml +++ b/.github/workflows/macos-alpha-build.yml @@ -33,6 +33,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + persist-credentials: true token: ${{ secrets.DEPLOY_KEY }} - name: Setup git diff --git a/.github/workflows/windows-alpha-build.yml b/.github/workflows/windows-alpha-build.yml index 0d97da663..9d07c4c25 100644 --- a/.github/workflows/windows-alpha-build.yml +++ b/.github/workflows/windows-alpha-build.yml @@ -33,6 +33,7 @@ jobs: with: submodules: recursive token: ${{ secrets.DEPLOY_KEY }} + persist-credentials: true # Give the runner some swap space in an attempt to stop gkrust from crashing the build