Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
philipabbey committed May 24, 2024
2 parents 38dafd5 + a6dd5c5 commit 8ea7e47
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,20 @@ jobs:
dependencies: false
packagePath: ./scratch-vhdl-vscode
dryRun: true
pat: ""
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.build.outputs.vsixPath }}
path: /tmp/scratch-vhdl-vscode.vsix
deploy-github:
runs-on: ubuntu-latest
needs: build
environment:
name: github-release
url: https://open-vsx.org/extension/JosephAbbey/scratch-vhdl-vscode
url: https://github.com/house-of-abbey/scratch_vhdl/releases/latest
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
Expand All @@ -77,11 +81,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ steps.download.outputs.download-path }}
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:
runs-on: ubuntu-latest
needs: build
environment:
name: open-vsx
url: https://open-vsx.org/extension/JosephAbbey/scratch-vhdl-vscode
Expand All @@ -94,10 +99,11 @@ jobs:
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
extensionFile: ${{ steps.download.outputs.download-path }}
extensionFile: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode.vsix
pat: ${{ secrets.OPEN_VSX_TOKEN }}
deploy-visual-studio:
runs-on: ubuntu-latest
needs: build
environment:
name: visual-studio
url: https://marketplace.visualstudio.com/items?itemName=JosephAbbey.scratch-vhdl-vscode
Expand All @@ -111,5 +117,5 @@ jobs:
uses: HaaLeo/publish-vscode-extension@v1
with:
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.download.outputs.download-path }}
extensionFile: ${{ steps.download.outputs.download-path }}/scratch-vhdl-vscode.vsix
pat: ${{ secrets.VISUAL_STUDIO_TOKEN }}
21 changes: 6 additions & 15 deletions scratch-vhdl-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
"publisher": "JosephAbbey",
"displayName": "Scratch VHDL",
"description": "",
"version": "1.0.4",
"version": "1.0.5",
"license": "MIT",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"categories": ["Other"],
"repository": {
"type": "git",
"url": "https://github.com/house-of-abbey/scratch_vhdl"
Expand Down Expand Up @@ -63,22 +61,15 @@
"languages": [
{
"id": "javascript",
"extensions": [
".sbi"
]
"extensions": [".sbi"]
},
{
"id": "json",
"extensions": [
".sbd",
".sbe"
]
"extensions": [".sbd", ".sbe"]
},
{
"id": "customasm",
"extensions": [
".asm"
]
"extensions": [".asm"]
}
],
"jsonValidation": [
Expand Down Expand Up @@ -131,4 +122,4 @@
"@vscode/webview-ui-toolkit": "^1.2.2",
"blockly": "^10.1.3"
}
}
}

0 comments on commit 8ea7e47

Please sign in to comment.