From 25745499a6052eedcc25ed8f61456c157a278748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFck=20Piera?= Date: Wed, 22 May 2024 14:35:06 +0200 Subject: [PATCH] Fix GA static build --- .github/workflows/artifacts.yml | 6 ++++++ .github/workflows/ci.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 65804dfd..61952920 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -82,6 +82,8 @@ jobs: - uses: ./.github/actions/static with: os: 'linux' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload the Linux amd64 static binary uses: actions/upload-artifact@v4 @@ -113,6 +115,8 @@ jobs: - uses: ./.github/actions/static with: os: 'darwin-amd64' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload the MacOs amd64 static binary uses: actions/upload-artifact@v4 @@ -144,6 +148,8 @@ jobs: - uses: ./.github/actions/static with: os: 'darwin-arm64' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload the MacOs arm64 static binary uses: actions/upload-artifact@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7aaf234a..b6e0e221 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,3 +121,5 @@ jobs: - uses: ./.github/actions/cache - uses: ./.github/actions/phar - uses: ./.github/actions/static + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}