-
Notifications
You must be signed in to change notification settings - Fork 303
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
1 parent
6081b3f
commit cc23197
Showing
1 changed file
with
12 additions
and
12 deletions.
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 |
---|---|---|
|
@@ -83,23 +83,23 @@ jobs: | |
run: npx vsce verify-pat -p ${{ secrets.MARKETPLACE_PAT }} MS-CEINTL | ||
|
||
# - name: Publish Extension | ||
# run: npx vsce publish --packagePath ./${{ env.PACKAGE_NAME }}.vsix -p ${{ secrets.MARKETPLACE_PAT }} | ||
# run: npx vsce publish --packagePath ./i18n/${{ matrix.languagePack }}/${{ env.PACKAGE_NAME }}.vsix -p ${{ secrets.MARKETPLACE_PAT }} | ||
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.setup-variables.outputs.release_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: ./${{ env.PACKAGE_NAME }}.vsix | ||
asset_name: ${{ env.PACKAGE_NAME }}.vsix | ||
asset_content_type: application/zip | ||
# - name: Upload Release Asset | ||
# id: upload-release-asset | ||
# uses: actions/upload-release-asset@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ needs.setup-variables.outputs.release_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: ./${{ env.PACKAGE_NAME }}.vsix | ||
# asset_name: ${{ env.PACKAGE_NAME }}.vsix | ||
# asset_content_type: application/zip | ||
|
||
- name: Upload assets to a Release | ||
uses: AButler/[email protected] | ||
with: | ||
files: ./${{ env.PACKAGE_NAME }}.vsix | ||
files: ./i18n/${{ matrix.languagePack }}/${{ env.PACKAGE_NAME }}.vsix | ||
release-tag: ${{ needs.setup-variables.outputs.tag }} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|