Skip to content

Commit

Permalink
CI: fix VSIX package publishing crash
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyRybalkinItr committed Jun 4, 2024
1 parent d665268 commit d2ed82a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
4 changes: 3 additions & 1 deletion .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 }}

0 comments on commit d2ed82a

Please sign in to comment.