diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6d90305..a5090e1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,18 +1,11 @@ name: GitHub release and VSCode Extension publishing on: - workflow_run: - workflows: ["Build, test and check format"] - branch: - - main - types: - - completed - - # push: - # tags: - # - "v*.*.*" - # - "v*.*.*-*" - # - "v*.*.*-*.*" + push: + tags: + - "v*.*.*" + - "v*.*.*-*" + - "v*.*.*-*.*" jobs: publish: @@ -26,13 +19,7 @@ jobs: registry-url: https://registry.npmjs.org/ node-version: 20.x cache: yarn - # - name: Upload artifact - # uses: actions/upload-artifact@v4 - # with: - # name: VSIX - # path: "*.vsix" - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: generate_release_notes: true files: "*.vsix"