-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: fix VSIX package publishing crash
- Loading branch information
1 parent
d665268
commit d2ed82a
Showing
2 changed files
with
6 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 |
---|---|---|
|
@@ -19,9 +19,9 @@ jobs: | |
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Run git | ||
run: git describe --abbrev=0 | ||
|
||
- name: Get version number | ||
id: get-version | ||
run: Set-Content '$GITHUB_OUTPUT' -Value "VERSION=$(git describe --abbrev=0)" | ||
|
||
- name: Publish VSIX package | ||
run: Write-Output "${{ steps.get-version.outputs.VERSION }}" |
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 |
---|---|---|
|
@@ -13,6 +13,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
@@ -37,5 +39,5 @@ jobs: | |
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: ${{ steps.get-version.outputs.VERSION }} | ||
files: ./src/StyleCopPlus.Vsix/bin/Release/net472/StyleCopPlus.vsix | ||
files: ./src/StyleCopPlus.Vsix/bin/Release/net472/StyleCopPlusVsix.vsix | ||
name: ${{ steps.get-version.outputs.VERSION }} |