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