mirror of https://github.com/PCSX2/pcsx2.git
CI:macOS: Use xz for distribution
macOS 10.14 fixed a bug where Archive Utility couldn't decompress .tar.xz and is now our minimum version
This commit is contained in:
parent
68ef49aef5
commit
0ba1a42867
|
@ -144,12 +144,12 @@ jobs:
|
||||||
APPNAME="PCSX2-$TAG"
|
APPNAME="PCSX2-$TAG"
|
||||||
fi
|
fi
|
||||||
mv build/pcsx2*/PCSX2.app "$APPNAME.app"
|
mv build/pcsx2*/PCSX2.app "$APPNAME.app"
|
||||||
tar cvzf "${{ steps.artifact-metadata.outputs.artifact-name }}.tar.gz" "$APPNAME.app"
|
tar --options xz:compression-level=9 -cvJf "${{ steps.artifact-metadata.outputs.artifact-name }}.tar.xz" "$APPNAME.app"
|
||||||
mkdir ci-artifacts
|
mkdir ci-artifacts
|
||||||
cp "${{ steps.artifact-metadata.outputs.artifact-name }}.tar.gz" ci-artifacts/macOS-${{ inputs.gui }}.tar.gz
|
cp "${{ steps.artifact-metadata.outputs.artifact-name }}.tar.xz" ci-artifacts/macOS-${{ inputs.gui }}.tar.xz
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.artifact-metadata.outputs.artifact-name }}
|
name: ${{ steps.artifact-metadata.outputs.artifact-name }}
|
||||||
path: "*.tar.gz"
|
path: "*.tar.xz"
|
||||||
|
|
|
@ -4,7 +4,7 @@ import shutil
|
||||||
tag = os.environ['TAG'].split("refs/tags/")[1]
|
tag = os.environ['TAG'].split("refs/tags/")[1]
|
||||||
scan_dir = os.environ['SCAN_DIR']
|
scan_dir = os.environ['SCAN_DIR']
|
||||||
output_dir = os.environ['OUT_DIR']
|
output_dir = os.environ['OUT_DIR']
|
||||||
accepted_exts = ["AppImage", "tar.gz", "7z"]
|
accepted_exts = ["AppImage", "tar.xz", "7z"]
|
||||||
|
|
||||||
|
|
||||||
for dir_name in os.listdir(scan_dir):
|
for dir_name in os.listdir(scan_dir):
|
||||||
|
|
Loading…
Reference in New Issue