mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-06 20:42:57 +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:
|
env:
|
||||||
ELECTRON_OUTPUT_PATH: ./dist_electron
|
ELECTRON_OUTPUT_PATH: ./dist_electron
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-build:
|
test-build:
|
||||||
@@ -64,18 +66,24 @@ jobs:
|
|||||||
run: yarn build:win
|
run: yarn build:win
|
||||||
env:
|
env:
|
||||||
ELECTRON_SKIP_NOTARIZATION: true
|
ELECTRON_SKIP_NOTARIZATION: true
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Build application (macOS)
|
- name: Build application (macOS)
|
||||||
if: matrix.os == 'macos-13'
|
if: matrix.os == 'macos-13'
|
||||||
run: yarn build:mac
|
run: yarn build:mac
|
||||||
env:
|
env:
|
||||||
ELECTRON_SKIP_NOTARIZATION: true
|
ELECTRON_SKIP_NOTARIZATION: true
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Build application (Linux)
|
- name: Build application (Linux)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: yarn build:linux
|
run: yarn build:linux
|
||||||
env:
|
env:
|
||||||
ELECTRON_SKIP_NOTARIZATION: true
|
ELECTRON_SKIP_NOTARIZATION: true
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Windows artifacts
|
- name: Upload Windows artifacts
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
|
|||||||
Reference in New Issue
Block a user