2
0

snapshot.yml 707 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: snapshot
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches:
  6. - dev
  7. - test-bedrock
  8. - v0
  9. - otui-diffs
  10. - snapshot-*
  11. concurrency: ${{ github.workflow }}-${{ github.ref }}
  12. jobs:
  13. publish:
  14. runs-on: blacksmith-4vcpu-ubuntu-2404
  15. steps:
  16. - uses: actions/checkout@v3
  17. with:
  18. fetch-depth: 0
  19. - run: git fetch --force --tags
  20. - uses: actions/setup-go@v5
  21. with:
  22. go-version: ">=1.24.0"
  23. cache: true
  24. cache-dependency-path: go.sum
  25. - uses: ./.github/actions/setup-bun
  26. - name: Publish
  27. run: |
  28. ./script/publish.ts
  29. env:
  30. GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}