Skip to content

Commit 6f8a803

Browse files
authored
Merge pull request #44 from devfile/fixpublishtoopenvsx
fix: Publish to OpenVSX registry
2 parents 5a77ca2 + 0fcbd19 commit 6f8a803

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
run: |
4242
vsce package -o vscode-devfile-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix
4343
ls -lash *.vsix
44+
- name: Calculate SHA256 Hash
45+
run: |
46+
sum256hash vscode-devfile-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix
4447
- name: Upload VSIX Artifacts
4548
uses: actions/[email protected]
4649
with:
@@ -86,6 +89,6 @@ jobs:
8689
run: |
8790
vsce publish -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath vscode-devfile-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix
8891
- name: Publish to OpenVSX Registry
89-
if: ${{ inputs.publishToOVSX == 'true' == 'true' }}
92+
if: ${{ inputs.publishToOVSX == 'true' }}
9093
run: |
9194
ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-devfile-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix

0 commit comments

Comments
 (0)