File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ jobs:
24
24
- name : Find built file
25
25
shell : pwsh
26
26
run : |
27
- echo "FILE_PATH=$(Get-ChildItem -Path build -Recurse -File -Name | Where-Object { $_ -notmatch '^\.' } | ForEach-Object { Join-Path -Path 'build' -ChildPath $_ })" >> $env:GITHUB_ENV
27
+ echo "FILE_PATH=$(Get-ChildItem -Path build -Recurse -File -Name | Where-Object { $_ -notmatch '^\.' } | ForEach-Object { $_ -replace '\\', '/' })" >> $env:GITHUB_ENV
28
28
29
29
- if : startsWith(github.ref, 'refs/tags/')
30
30
uses : softprops/action-gh-release@v2
31
31
with :
32
32
token : ${{ secrets.GITHUB_TOKEN }}
33
33
prerelease : ${{ !contains(github.ref, 'refs/heads/master') }}
34
34
generate_release_notes : true
35
- files : ${{ env.FILE_PATH }}
35
+ files : build/ ${{ env.FILE_PATH }}
You can’t perform that action at this time.
0 commit comments