updater.yaml 634 B

12345678910111213141516171819202122232425262728293031
  1. name: Updater CI
  2. on: workflow_dispatch
  3. jobs:
  4. release-update:
  5. runs-on: ubuntu-latest
  6. if: |
  7. startsWith(github.repository, 'keiko233')
  8. steps:
  9. - name: Checkout repository
  10. uses: actions/checkout@v3
  11. - name: Install Node
  12. uses: actions/setup-node@v3
  13. with:
  14. node-version: "20"
  15. - uses: pnpm/action-setup@v2
  16. name: Install pnpm
  17. with:
  18. version: 8
  19. run_install: false
  20. - name: Pnpm install
  21. run: pnpm i
  22. - name: Release updater file
  23. run: pnpm updater
  24. env:
  25. GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}