File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 5353 Remove-Item $subDir.FullName
5454 }
5555
56- - name : Download release artifacts
56+ - name : Download NuGet and VSIX artifacts
5757 if : ${{ inputs.createRelease || inputs.publishNuget }}
5858 uses : dawidd6/action-download-artifact@v6
5959 with :
6464 path : release-artifacts
6565 skip_unpack : false
6666
67+ - name : Download ZIP artifacts
68+ if : ${{ inputs.createRelease }}
69+ uses : dawidd6/action-download-artifact@v6
70+ with :
71+ workflow : dotnet.yml
72+ branch : master
73+ name_is_regexp : true
74+ name : ICSharpCode\.CodeConverter.*\.zip$
75+ path : release-artifacts
76+ skip_unpack : true
77+
78+ - name : Rename ZIP files
79+ if : ${{ inputs.createRelease }}
80+ shell : pwsh
81+ run : |
82+ Get-ChildItem -Path release-artifacts -Filter "*.zip.zip" | ForEach-Object {
83+ $newName = $_.Name -replace '\.zip\.zip$', '.zip'
84+ Rename-Item -Path $_.FullName -NewName $newName
85+ }
86+
6787 - name : Extract build version from artifacts
6888 id : get_version
6989 if : ${{ inputs.createRelease }}
You can’t perform that action at this time.
0 commit comments