File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 uses : actions/upload-artifact@v4
6060 with :
6161 name : hypr-${{ matrix.name }}
62- path : ./publish/${{ matrix.name }}/
62+ path : ./publish/${{ matrix.name }}/hypr${{ contains(matrix.name, 'windows') && '.exe' || '' }}
6363
6464 build-dotnet-tool :
6565 runs-on : ubuntu-latest
@@ -108,12 +108,15 @@ jobs:
108108 with :
109109 path : ./artifacts
110110
111- - name : Create archives
111+ - name : Prepare release files
112112 run : |
113113 cd artifacts
114- for dir in hypr-*; do
115- if [ -d "$dir" ]; then
116- tar -czf "${dir}.tar.gz" -C "$dir" .
114+ # Files are already single executables, just rename them appropriately
115+ for file in hypr-*; do
116+ if [ -f "$file" ]; then
117+ if [[ "$file" == *"windows"* ]]; then
118+ mv "$file" "${file}.exe"
119+ fi
117120 fi
118121 done
119122
@@ -123,7 +126,7 @@ jobs:
123126 tag_name : v${{ env.VERSION }}
124127 name : Release v${{ env.VERSION }}
125128 files : |
126- artifacts/*.tar.gz
129+ artifacts/hypr-*
127130 artifacts/dotnet-tool/*.nupkg
128131 generate_release_notes : true
129132 env :
You can’t perform that action at this time.
0 commit comments