chore(ci): disable broken MacOS builds

This commit is contained in:
Ashhhleyyy 2024-03-29 15:10:21 +00:00
parent 058e5299da
commit 237f21a5bc
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -2,42 +2,42 @@ name: Package
on: [push] on: [push]
jobs: jobs:
build-macos: # build-macos:
runs-on: macos-latest # runs-on: macos-latest
timeout-minutes: 15 # timeout-minutes: 15
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
python-version: ['3.9', '3.11'] # python-version: ['3.9', '3.11']
node-version: ['20'] # node-version: ['20']
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} # - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 # uses: actions/setup-python@v2
with: # with:
python-version: ${{ matrix.python-version }} # python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: Set up Node ${{ matrix.node-version }} # - name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v2 # uses: actions/setup-node@v2
with: # with:
node-version: ${{ matrix.node-version }} # node-version: ${{ matrix.node-version }}
- name: Build .app # - name: Build .app
run: | # run: |
npm run presenter-make # npm run presenter-make
build/build-macos.sh # build/build-macos.sh
zip -r build/output/BAPSicle.zip build/output/BAPSicle.app # zip -r build/output/BAPSicle.zip build/output/BAPSicle.app
- name: Extract branch name # - name: Extract branch name
shell: bash # shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" # run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch # id: extract_branch
- name: Archive Build # - name: Archive Build
uses: actions/upload-artifact@v2 # uses: actions/upload-artifact@v2
with: # with:
name: BAPSicle-${{ steps.extract_branch.outputs.branch }}-${{github.sha}}-MacOS # name: BAPSicle-${{ steps.extract_branch.outputs.branch }}-${{github.sha}}-MacOS
path: | # path: |
build/output/BAPSicle.zip # build/output/BAPSicle.zip
build-ubuntu: build-ubuntu: