From edc7ca423d435c4e0e233953bd0f7871232c837b Mon Sep 17 00:00:00 2001 From: Kuingsmile <96409857+Kuingsmile@users.noreply.github.com> Date: Tue, 12 Aug 2025 15:58:56 +0800 Subject: [PATCH] :package: Chore(custom): add token env in action --- .github/workflows/test-build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index e66d1933..6227ccb2 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -9,6 +9,8 @@ on: env: ELECTRON_OUTPUT_PATH: ./dist_electron + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} jobs: test-build: @@ -64,18 +66,24 @@ jobs: run: yarn build:win env: ELECTRON_SKIP_NOTARIZATION: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} - name: Build application (macOS) if: matrix.os == 'macos-13' run: yarn build:mac env: ELECTRON_SKIP_NOTARIZATION: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} - name: Build application (Linux) if: matrix.os == 'ubuntu-latest' run: yarn build:linux env: ELECTRON_SKIP_NOTARIZATION: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} - name: Upload Windows artifacts if: matrix.os == 'windows-latest'