-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,10 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
id: ver | ||
|
||
- uses: lannonbr/vsce-action@master | ||
with: | ||
args: "package" | ||
|
||
# Note: This works but you can't unpublish something so if the next thing fails, you're just stuck. | ||
#- name: Publish to Open VSX Registry | ||
# uses: HaaLeo/publish-vscode-extension@v1 | ||
|
@@ -77,6 +81,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ${{ steps.publishOpenVSX.outputs.vsixPath }} # Need to get this version number dynamically | ||
#asset_path: ${{ steps.publishOpenVSX.outputs.vsixPath }} # Need to get this version number dynamically | ||
asset_path: ./vscode-nushell-lang-${{ steps.ver.outputs.packageVersion }}.vsix # Need to get this version number dynamically | ||
asset_name: vscode-nushell-lang-${{ steps.ver.outputs.packageVersion }}.vsix | ||
asset_content_type: application/vsix |