mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-07 04:52:43 +08:00
📦 Chore(custom): add token env in action
This commit is contained in:
8
.github/workflows/test-build.yml
vendored
8
.github/workflows/test-build.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user