From 12584068024ca22d859d1b0fba64c3feee00d798 Mon Sep 17 00:00:00 2001 From: "Herman S." <429230+has207@users.noreply.github.com> Date: Sun, 21 Sep 2025 21:05:51 +0900 Subject: [PATCH] Make linux release create the same files as windows --- .github/workflows/Create_release.yml | 11 ++--------- .github/workflows/Linux_build.yml | 7 ++++--- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Create_release.yml b/.github/workflows/Create_release.yml index 6e85946e7..587e4d376 100644 --- a/.github/workflows/Create_release.yml +++ b/.github/workflows/Create_release.yml @@ -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!" diff --git a/.github/workflows/Linux_build.yml b/.github/workflows/Linux_build.yml index 0dcc60034..781c10243 100644 --- a/.github/workflows/Linux_build.yml +++ b/.github/workflows/Linux_build.yml @@ -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: