2022-04-05 20:21:53 +08:00
|
|
|
name: Updater CI
|
|
|
|
|
|
|
|
on: workflow_dispatch
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release-update:
|
2023-01-14 22:22:18 +08:00
|
|
|
runs-on: ubuntu-latest
|
2023-11-22 02:56:47 +08:00
|
|
|
if: startsWith(github.repository, 'wonfen')
|
2022-04-05 20:21:53 +08:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-11-02 20:14:05 +08:00
|
|
|
uses: actions/checkout@v4
|
2022-04-05 20:21:53 +08:00
|
|
|
|
2023-08-12 15:41:26 +08:00
|
|
|
- name: Install Node
|
2023-11-02 20:14:05 +08:00
|
|
|
uses: actions/setup-node@v4
|
2022-04-05 20:21:53 +08:00
|
|
|
with:
|
2023-08-12 15:41:26 +08:00
|
|
|
node-version: "16"
|
|
|
|
cache: "yarn"
|
2022-04-05 20:21:53 +08:00
|
|
|
|
|
|
|
- name: Yarn install
|
2023-08-12 15:41:26 +08:00
|
|
|
run: yarn install --network-timeout 1000000 --frozen-lockfile
|
2022-04-05 20:21:53 +08:00
|
|
|
|
2022-04-05 23:19:54 +08:00
|
|
|
- name: Release updater file
|
|
|
|
run: yarn run updater
|
2022-04-05 20:21:53 +08:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|