Make linux release create the same files as windows

This commit is contained in:
Herman S.
2025-09-21 23:26:21 +09:00
parent 1362423da1
commit 1258406802
2 changed files with 6 additions and 12 deletions
+2 -9
View File
@@ -25,15 +25,8 @@ jobs:
GH_REPO: ${{ github.repository }}
notes: ${{ github.event.head_commit.message }}
run: |
case ${{ inputs.os }} in
windows)
asset=xenia_edge_${{ inputs.os }}.zip
7z a $asset -xr!'*.pdb' -mx9 -bb3
;;
linux)
asset=xenia_edge_${{ inputs.os }}.tar.xz
;;
esac
asset=xenia_edge_${{ inputs.os }}.zip
7z a $asset -xr!'*.pdb' -mx9 -bb3
if [ ! -f $asset ]; then
ls -R
echo "::error::$asset doesn't exist!"
+4 -3
View File
@@ -108,14 +108,15 @@ jobs:
echo "::error::Binary is too small."
fi
chmod +x $binary
mkdir -p artifacts
XZ_OPT=-e9 tar cJvpf artifacts/xenia_edge_linux.tar.xz $binary LICENSE
mkdir -p artifacts/xenia_edge
cp $binary artifacts/xenia_edge/
cp LICENSE artifacts/xenia_edge/
- name: Upload xenia edge artifacts
if: steps.prepare_artifacts.outcome == 'success'
uses: actions/upload-artifact@main
with:
name: xenia_edge_linux
path: artifacts
path: artifacts/xenia_edge
if-no-files-found: error
# build-gcc: