diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version.yml similarity index 73% rename from .github/workflows/covector-version-or-publish.yml rename to .github/workflows/covector-version.yml index 132d5ab..f3a2a5d 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version.yml @@ -22,9 +22,8 @@ jobs: id: covector with: token: ${{ secrets.GITHUB_TOKEN }} - command: 'version-or-publish' + command: 'version' - name: Create Pull Request With Versions Bumped - if: steps.covector.outputs.commandRan == 'version' uses: tauri-apps/create-pull-request@v3.4.1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -33,10 +32,3 @@ jobs: commit-message: "apply version updates" labels: "version updates" body: ${{ steps.covector.outputs.change }} - - name: Publish Extension - if: steps.covector.outputs.commandRan == 'publish' - uses: lannonbr/vsce-action@master - with: - args: "publish -p $VSCE_TOKEN" - env: - VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..f4e0e5f --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,18 @@ +on: + push: + branches: + - release + +name: Publish Extension + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: yarn + - uses: lannonbr/vsce-action@master + with: + args: "publish -p $VSCE_TOKEN" + env: + VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} diff --git a/package.json b/package.json index f5e3003..97a576f 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "version": "0.1.3", "engines": { - "vscode": "^1.60.0" + "vscode": "^1.56.0" }, "categories": [ "Other",