mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
Make linux release create the same files as windows
This commit is contained in:
@@ -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!"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user