Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [ main, beta, prerelease ]
branches: [main, beta, prerelease]
paths:
- 'src/**'
- 'package.json'
Expand All @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
with:
fetch-depth: 2 # Need previous commit to compare versions
fetch-depth: 2 # Need previous commit to compare versions

- name: Extract branch name
shell: bash
Expand Down Expand Up @@ -52,15 +52,15 @@ jobs:
- run: yarn run lint
- name: Publish to Visual Studio Marketplace
if: ${{ (steps.version_check.outputs.changed == 'true' || github.event_name == 'workflow_dispatch') && steps.extract_branch.outputs.branch != 'prerelease' }}
uses: HaaLeo/publish-vscode-extension@v1.5.0
uses: HaaLeo/publish-vscode-extension@65512ae7dcf96159b51fdd7ed73eb17d5cacad33 # v1.5.0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
yarn: true

- name: Publish to Visual Studio Marketplace for pre-release
if: ${{ (steps.version_check.outputs.changed == 'true' || github.event_name == 'workflow_dispatch') && steps.extract_branch.outputs.branch == 'prerelease' }}
uses: HaaLeo/publish-vscode-extension@v1.5.0
uses: HaaLeo/publish-vscode-extension@65512ae7dcf96159b51fdd7ed73eb17d5cacad33 # v1.5.0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
Expand All @@ -69,7 +69,7 @@ jobs:

- name: Publish to Open VSX Registry
if: ${{ steps.version_check.outputs.changed == 'true' || github.event_name == 'workflow_dispatch' }}
uses: HaaLeo/publish-vscode-extension@v0
uses: HaaLeo/publish-vscode-extension@aae4c55fd9e724685834ff0a9488ad57c8f3ecf1 # v0
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
yarn: true
Loading