Skip to content

Commit

Permalink
Try to fix create-dmg on macOS-13 x64
Browse files Browse the repository at this point in the history
  • Loading branch information
kcleal authored Jan 23, 2025
1 parent a710258 commit 0878930
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.sys }}
Expand All @@ -30,7 +30,7 @@ jobs:
run: |
make
- name: upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mingw-${{ matrix.sys }}
path: ${{ github.workspace }}/*.exe
Expand All @@ -42,13 +42,13 @@ jobs:
matrix:
os: [ macos-14 ] # macos-12,
include:
- os: macos-14
- os: macos-13
arch: intel
- os: macos-14
arch: m1

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand Down Expand Up @@ -120,14 +120,17 @@ jobs:
sudo codesign --force --deep -s - gw.app -v
sudo codesign --verify -vvvv gw.app
sudo hdiutil detach -force /Volumes/*
export TMPDIR=$(mktemp -d)
PATH="$PATH:$brew_bin" create-dmg 'gw.app' || true
ls
mv gw\ undefined.dmg gw_macos_${{ matrix.arch }}.dmg
ls
pwd
- name: upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: gw_macos_${{ matrix.arch }}
path: ./*.dmg
Expand Down

0 comments on commit 0878930

Please sign in to comment.