Skip to content

Commit 5cfb71b

Browse files
committed
Don't try to upload otool info on non mac
1 parent 7510b06 commit 5cfb71b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/app_build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
COMPRESSED_PKG_PATH: _CPack_Packages/Linux/TGZ
4444
QT_OS_NAME: linux
4545
QT_ARCH: gcc_64
46+
arch: x86_64
4647
- os: ubuntu-22.04
4748
SELF_HOSTED: false
4849
PLATFORM_NAME: Linux
@@ -52,6 +53,7 @@ jobs:
5253
COMPRESSED_PKG_PATH: _CPack_Packages/Linux/TGZ
5354
QT_OS_NAME: linux
5455
QT_ARCH: gcc_64
56+
arch: x86_64
5557
- os: windows-2022
5658
SELF_HOSTED: false
5759
PLATFORM_NAME: Windows
@@ -61,6 +63,7 @@ jobs:
6163
COMPRESSED_PKG_PATH: _CPack_Packages/win64/ZIP
6264
QT_OS_NAME: windows
6365
QT_ARCH: win64_msvc2019_64
66+
arch: x86_64
6467
- os: macos-13
6568
SELF_HOSTED: false
6669
PLATFORM_NAME: Darwin
@@ -618,6 +621,7 @@ jobs:
618621
echo "::endgroup::"
619622
620623
- name: Upload otool info as artifact
624+
if: runner.os == 'macOS'
621625
uses: actions/upload-artifact@v4
622626
with:
623627
name: otool_infos_cpack_${{ matrix.os }}_${{ matrix.arch }}
@@ -699,8 +703,8 @@ jobs:
699703
ls OpenStudioApplication-* || true
700704
701705
702-
test_package:
703-
name: Test Built Package
706+
test_package_macos:
707+
name: Test Built Package on macOS
704708
needs: build
705709
runs-on: ${{ matrix.os }}
706710
strategy:

0 commit comments

Comments
 (0)