-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upload-release-asset action does not support wildcards, so rename ext…
…ension Summary: As per title Reviewed By: alanz Differential Revision: D48872853 fbshipit-source-id: ced6e13798b42c1b4a84328bfeb223bfa8b365d9
- Loading branch information
1 parent
f179a1f
commit 8d3e82f
Showing
1 changed file
with
12 additions
and
4 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 |
---|---|---|
|
@@ -88,14 +88,16 @@ jobs: | |
- name: Package Extension | ||
working-directory: editors/code | ||
run: vsce package | ||
- name: Rename Package | ||
run: mv editors/code/erlang-language-platform-*.vsix erlang-language-platform.vsix | ||
- env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
name: Upload Extension Package | ||
uses: "actions/[email protected]" | ||
with: | ||
asset_content_type: application/octet-stream | ||
asset_name: elp-linux-otp-25.vsix | ||
asset_path: editors/code/erlang-language-platform-*.vsix | ||
asset_path: editors/code/erlang-language-platform.vsix | ||
upload_url: "${{ steps.get_release_url.outputs.upload_url }}" | ||
- name: Publish extension to marketplace | ||
working-directory: editors/code | ||
|
@@ -180,14 +182,16 @@ jobs: | |
- name: Package Extension | ||
working-directory: editors/code | ||
run: vsce package | ||
- name: Rename Package | ||
run: mv editors/code/erlang-language-platform-*.vsix erlang-language-platform.vsix | ||
- env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
name: Upload Extension Package | ||
uses: "actions/[email protected]" | ||
with: | ||
asset_content_type: application/octet-stream | ||
asset_name: elp-linux-otp-23.vsix | ||
asset_path: editors/code/erlang-language-platform-*.vsix | ||
asset_path: editors/code/erlang-language-platform.vsix | ||
upload_url: "${{ steps.get_release_url.outputs.upload_url }}" | ||
macos-release-otp-25: | ||
needs: | ||
|
@@ -256,14 +260,16 @@ jobs: | |
- name: Package Extension | ||
working-directory: editors/code | ||
run: vsce package | ||
- name: Rename Package | ||
run: mv editors/code/erlang-language-platform-*.vsix erlang-language-platform.vsix | ||
- env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
name: Upload Extension Package | ||
uses: "actions/[email protected]" | ||
with: | ||
asset_content_type: application/octet-stream | ||
asset_name: elp-macos-otp-25.vsix | ||
asset_path: editors/code/erlang-language-platform-*.vsix | ||
asset_path: editors/code/erlang-language-platform.vsix | ||
upload_url: "${{ steps.get_release_url.outputs.upload_url }}" | ||
macos-release-otp-23: | ||
needs: | ||
|
@@ -332,14 +338,16 @@ jobs: | |
- name: Package Extension | ||
working-directory: editors/code | ||
run: vsce package | ||
- name: Rename Package | ||
run: mv editors/code/erlang-language-platform-*.vsix erlang-language-platform.vsix | ||
- env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
name: Upload Extension Package | ||
uses: "actions/[email protected]" | ||
with: | ||
asset_content_type: application/octet-stream | ||
asset_name: elp-macos-otp-23.vsix | ||
asset_path: editors/code/erlang-language-platform-*.vsix | ||
asset_path: erlang-language-platform.vsix | ||
upload_url: "${{ steps.get_release_url.outputs.upload_url }}" | ||
name: erlang-language-platform release | ||
on: | ||
|