■ ■ ■ ■ ■ ■
.github/workflows/release.yml
| skipped 1 lines |
2 | 2 | | |
3 | 3 | | on: |
4 | 4 | | release: |
5 | | - | types: [created] |
| 5 | + | types: [created, edited, published] |
6 | 6 | | |
7 | 7 | | jobs: |
8 | 8 | | CI: |
| skipped 13 lines |
22 | 22 | | if: startsWith(github.ref, 'refs/tags/') |
23 | 23 | | env: |
24 | 24 | | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
25 | | - | run: gh release create -d ${{ github.ref }} ./dist/* |
| 25 | + | run: gh release upload ${{ github.ref }} ./dist/* |
26 | 26 | | |
27 | 27 | | |