mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 09:56:26 +00:00
ci: fix dmg release artifacts
- build-release.py: use absolute paths instead of resolved paths - xcode: run the shell script with 'set -ex' for extra verbosity + failing when an error happens - On macOS ci, /tmp resolves to /private/tmp, causing the shell script to not find the SDL3.xcframework. So don't use /tmp.
This commit is contained in:

committed by
Anonymous Maarten

parent
84c69d0f9f
commit
8f4cab0f83
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -106,9 +106,9 @@ jobs:
|
||||
- name: 'Untar ${{ needs.src.outputs.src-tar-gz }}'
|
||||
id: tar
|
||||
run: |
|
||||
mkdir -p /tmp/tardir
|
||||
tar -C /tmp/tardir -v -x -f "${{ github.workspace }}/${{ needs.src.outputs.src-tar-gz }}"
|
||||
echo "path=/tmp/tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}" >>$GITHUB_OUTPUT
|
||||
mkdir -p "${{ github.workspace }}/tardir"
|
||||
tar -C "${{ github.workspace }}/tardir" -v -x -f "${{ github.workspace }}/${{ needs.src.outputs.src-tar-gz }}"
|
||||
echo "path=${{ github.workspace }}/tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}" >>$GITHUB_OUTPUT
|
||||
- name: 'Build SDL3.dmg'
|
||||
id: releaser
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user