diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0454d2..3c7e915 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,9 +6,11 @@ on: jobs: build-macos: - runs-on: macos-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false + matrix: + os: [macos-13, macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v4 @@ -30,20 +32,3 @@ jobs: run: npm ci - name: build run: npm run make - - build: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, windows-latest] - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - name: install dependencies - run: npm ci - - name: build - run: npm run make diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f43791..54d658a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,24 @@ jobs: strategy: matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + os: [macos-13, macos-latest, ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 + + - name: setup python + uses: actions/setup-python@v5 + with: + python-version: 3.12 + + - name: setup appdmg + run: | + python3 -m pip install setuptools + npm install -g appdmg@0.6.6 + - name: install dependencies run: npm ci - name: publish