updater.yml 579 B

12345678910111213141516171819202122232425
  1. name: Updater CI
  2. on: workflow_dispatch
  3. jobs:
  4. release-update:
  5. runs-on: ubuntu-latest
  6. if: startsWith(github.repository, 'wonfen')
  7. steps:
  8. - name: Checkout repository
  9. uses: actions/checkout@v4
  10. - name: Install Node
  11. uses: actions/setup-node@v4
  12. with:
  13. node-version: "16"
  14. cache: "yarn"
  15. - name: Yarn install
  16. run: yarn install --network-timeout 1000000 --frozen-lockfile
  17. - name: Release updater file
  18. run: yarn run updater
  19. env:
  20. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}