zip build to tmp
This commit is contained in:
parent
54f54696e2
commit
79a95657c9
@ -61,8 +61,18 @@ jobs:
|
||||
|
||||
- name: Zip build artifacts
|
||||
run: |
|
||||
mkdir -p zipped_builds
|
||||
zip -r zipped_builds/build_${{ matrix.targetPlatform }}.zip build/${{ matrix.targetPlatform }}
|
||||
mkdir -p /tmp/zipped_builds
|
||||
if [ "${{ matrix.targetPlatform }}" == "StandaloneLinux64" ]; then
|
||||
cd build/StandaloneLinux64
|
||||
zip -r /tmp/zipped_builds/build_StandaloneLinux64.zip . -x "StandaloneLinux64_BackUpThisFolder_ButDontShipItWithYourGame/**"
|
||||
cd ../..
|
||||
else
|
||||
zip -r /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip build/${{ matrix.targetPlatform }}
|
||||
fi
|
||||
|
||||
- name: Debug - List files in /tmp/zipped_builds
|
||||
run: |
|
||||
ls -R /tmp/zipped_builds
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
@ -81,6 +91,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
||||
asset_path: /tmp/zipped_builds/build_${{ matrix.targetPlatform }}.zip
|
||||
asset_name: build_${{ matrix.targetPlatform }}.zip
|
||||
asset_content_type: application/zip
|
Loading…
Reference in New Issue
Block a user