Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/package/osx/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Package
description: Package OSX artifacts

runs:
using: "composite"
steps:

- name: Download Raw Build Artifacts
uses: actions/download-artifact@v3
with:
name: osx-build
path: build

- name: Install Prerequisites
shell: bash
run: |
pip3 install dmgbuild biplist
wget https://raw.githubusercontent.com/disorderedmaterials/scripts/master/prep-dmg
chmod u+x ./prep-dmg

- name: Prepare DMG Dirs
shell: bash
run: |
set -ex

# Make macdeployqt user rwx
ls -larth ./build/frontend/deploy/qt/bin/macdeployqt
chmod a+rwx ./build/frontend/deploy/qt/bin/macdeployqt

./prep-dmg -a jv2 -v ${{ env.jv2Version }} -b build/frontend/build/bin/jv2.app/Contents/MacOS/jv2 -d ./build/frontend/deploy/qt -i extra/jv2_1024.png -p build/frontend/build/bin/jv2.app/Contents/Info.plist

- name: Rename Artifacts
shell: bash
run: |
set -ex
mkdir packages
mkdir packages/jv2
mv dist/jv2Setup packages
mv dist/isisInternal packages
mv build/jv2.app packages/jv2
zip jv2.zip packages
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down