File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
7
7
env :
8
8
VSIX_FILE_NAME : GitTreeFilter-${{ github.event.release.tag_name }}.vsix
9
- SOURCES_FILE_NAME : Sources.tar.gz
10
9
11
10
jobs :
12
11
publish :
13
12
if : github.event.release.draft == false && github.event.release.prerelease == false
14
- runs-on : ubuntu-latest
13
+ runs-on : windows-2022
15
14
16
15
steps :
17
16
- uses : actions/checkout@v4
@@ -27,15 +26,16 @@ jobs:
27
26
releaseId : ${{ github.event.release.id }}
28
27
fileName : ${{ env.VSIX_FILE_NAME }}
29
28
token : ${{ secrets.GITHUB_TOKEN }}
30
- tarBall : true
29
+ zipBall : true
31
30
extract : true
32
31
33
32
- name : Get sources root path
34
33
id : get-sources-root
34
+ shell : pwsh
35
35
run : |
36
- TAG_NAME= ${{ github.event.release.tag_name }}
37
- TAG_NAME=${TAG_NAME#v}
38
- echo "sources_root=GitTreeFilter-4-VisualStudio-${TAG_NAME}" >> $ GITHUB_OUTPUT
36
+ $tagName = " ${{ github.event.release.tag_name }}"
37
+ $tagName = $tagName -replace "^v"
38
+ "sources_root=GitTreeFilter-4-VisualStudio-$tagName" | Out-File -FilePath $env: GITHUB_OUTPUT -Append
39
39
40
40
- name : Publish extension to Marketplace
41
41
uses :
cezarypiatek/[email protected]
You can’t perform that action at this time.
0 commit comments