From a6dd5c5e8519a8b1816897c99c3ea5c10d1c2447 Mon Sep 17 00:00:00 2001 From: Joseph Abbey Date: Fri, 24 May 2024 20:16:08 +0100 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 972459c..be64d50 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,10 +44,13 @@ jobs: packagePath: ./scratch-vhdl-vscode dryRun: true pat: "none" + - name: "Move" + run: | + mv ${{ steps.package.outputs.vsixPath }} /tmp/scratch-vhdl-vscode.vsix - name: Upload Artifact uses: actions/upload-artifact@v4 with: - path: ${{ steps.package.outputs.vsixPath }} + path: /tmp/scratch-vhdl-vscode.vsix deploy-github: runs-on: ubuntu-latest needs: build @@ -78,7 +81,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode-${{ github.ref_name }}.vsix + asset_path: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode.vsix asset_name: scratch-vhdl-vscode.vsix asset_content_type: application/zip deploy-open-vsx: @@ -96,7 +99,7 @@ jobs: - name: Publish to Open VSX Registry uses: HaaLeo/publish-vscode-extension@v1 with: - extensionFile: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode-${{ github.ref_name }}.vsix + extensionFile: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode.vsix pat: ${{ secrets.OPEN_VSX_TOKEN }} deploy-visual-studio: runs-on: ubuntu-latest @@ -114,5 +117,5 @@ jobs: uses: HaaLeo/publish-vscode-extension@v1 with: registryUrl: https://marketplace.visualstudio.com - extensionFile: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode-${{ github.ref_name }}.vsix + extensionFile: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode.vsix pat: ${{ secrets.VISUAL_STUDIO_TOKEN }}