Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt authored Jun 22, 2021
1 parent 6081b3f commit cc23197
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/gated-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit cc23197

Please sign in to comment.