-
Notifications
You must be signed in to change notification settings - Fork 14
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
d5da8da
commit 926b1e5
Showing
6 changed files
with
44 additions
and
13 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 |
---|---|---|
|
@@ -35,10 +35,17 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: ${{ env.FETCH_DEPTH }} | ||
|
||
- name: Set UUID | ||
id: generate-uuid | ||
uses: filipstefansson/uuid-action@v1 | ||
with: | ||
name: ${{ gihub.sha }} | ||
|
||
- name: Install VSCE | ||
- name: Setup ID | ||
shell: bash | ||
run: | | ||
npm install -g @vscode/vsce | ||
sed -i 's\REPLACE_ID\${{ steps.generate-uuid.outputs.uuid }}\g' MultilineGreyText/source.extension.vsixmanifest | ||
- name: Download artifact | ||
id: download-artifact | ||
|
@@ -69,11 +76,19 @@ jobs: | |
- name: MSBuild ${{ env.refactSolution }} | ||
run: | | ||
msbuild ${{ env.refactSolution }} /p:Configuration=${{ env.config }} /p:TargetVsixContainer=${{ env.vsixContainer }} /p:DeployExtension=False /verbosity:minimal | ||
- name: Publish VSCE extension | ||
shell: bash | ||
run: | | ||
vsce publish --pat ${{secrets.VSCE_PAT}} --packagePath ${{ env.vsixContainer }} | ||
- name: Publish release to marketplace | ||
id: publish | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
# (Required) Personal access token to perform action on the VS Marketplace | ||
personal-access-code: ${{ secrets.VSCE_PAT }} | ||
|
||
# (Required) Path to the manifest used for the publish | ||
publish-manifest-file: MultilineGreyText/vsixManifest.json | ||
|
||
# (Optional) Path to an extension package | ||
extension-file: ${{ env.vsixContainer }} | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
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
Empty file.
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/vsix-publish", | ||
"categories": [ "coding" ], | ||
"identity": { | ||
"internalName": "refactclassic" | ||
}, | ||
"overview": "overview.md", | ||
"priceCategory": "free", | ||
"publisher": "smallcloud", | ||
"private": false, | ||
"qna": true, | ||
"repo": "https://github.com/smallcloudai/refact-vs-classic" | ||
} |
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