diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b453896..d5005e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 14.x - name: Build @@ -29,7 +29,7 @@ jobs: yarn install --ignore-scripts yarn build yarn package - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: vsix-package path: ./*.vsix @@ -37,29 +37,48 @@ jobs: release: needs: build - name: Release + name: Create Release runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v2 + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: path: artifacts - uses: softprops/action-gh-release@v1 with: files: artifacts/*/*.vsix - publish: + publish-open-vsx-registry: needs: build - name: Publish + name: Open VSX runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v2 + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: path: artifacts + - uses: actions/setup-node@v3 + with: + node-version: 14.x + - name: Publish + run: | + npx ovsx@0.8.0 publish -i artifacts/*/*.vsix -p ${{secrets.OPEN_VSX_TOKEN}} + + publish-vscode-marketplace: + needs: build + name: VS Code Marketplace + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') + steps: + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 + with: + path: artifacts + - uses: actions/setup-node@v3 + with: + node-version: 14.x - name: Publish run: | - npx ovsx publish -i artifacts/*/*.vsix -p ${{secrets.OPEN_VSX_TOKEN}} npx vsce publish -i artifacts/*/*.vsix -p ${{secrets.VS_MARKETPLACE_TOKEN}} diff --git a/CHANGELOG.md b/CHANGELOG.md index de4d048..0f1cabb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [v1.1.0] - 2023-01-30 +## [v1.1.1] - 2023-01-30 ### New Features diff --git a/package.json b/package.json index 236dc12..ec0f692 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "svd-viewer", "displayName": "SVD Viewer", "description": "Standalone SVD Viewer extension extracted from cortex-debug", - "version": "1.1.0", + "version": "1.1.1", "preview": true, "publisher": "cortex-debug", "author": "Rob Moran ",