Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephAbbey authored May 24, 2024
1 parent 5b99ee6 commit a6dd5c5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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 }}

0 comments on commit a6dd5c5

Please sign in to comment.