mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 20:58:07 +03:00
build: allow mac pre-releases to fail
This commit is contained in:
parent
cfc3e02926
commit
6314a44794
3 changed files with 16 additions and 1 deletions
9
.github/workflows/build_macos.yml
vendored
9
.github/workflows/build_macos.yml
vendored
|
@ -1,7 +1,13 @@
|
||||||
name: Build macOS app bundle and .dmg installer image
|
name: Build macOS app bundle and .dmg installer image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- workflow_call
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
let_mac_fail:
|
||||||
|
description: "Do not require Mac builds to pass"
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FFMPEG_INSTALL_FUSED: /opt/local
|
FFMPEG_INSTALL_FUSED: /opt/local
|
||||||
|
@ -12,6 +18,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
|
continue-on-error: ${{ inputs.let_mac_fail }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set up signing certificate
|
- name: Set up signing certificate
|
||||||
env:
|
env:
|
||||||
|
|
1
.github/workflows/prerelease.yml
vendored
1
.github/workflows/prerelease.yml
vendored
|
@ -20,4 +20,5 @@ jobs:
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
tag_name: latest
|
tag_name: latest
|
||||||
|
let_mac_fail: true
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -30,6 +30,11 @@ on:
|
||||||
required: false
|
required: false
|
||||||
default: "${{ github.ref }}"
|
default: "${{ github.ref }}"
|
||||||
type: string
|
type: string
|
||||||
|
let_mac_fail:
|
||||||
|
description: "Do not require Mac builds to pass"
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -94,6 +99,8 @@ jobs:
|
||||||
vars.RELEASE_ENABLE == 'true' &&
|
vars.RELEASE_ENABLE == 'true' &&
|
||||||
vars.MACOS_ENABLE == 'true'
|
vars.MACOS_ENABLE == 'true'
|
||||||
uses: ./.github/workflows/build_macos.yml
|
uses: ./.github/workflows/build_macos.yml
|
||||||
|
with:
|
||||||
|
let_mac_fail: ${{ inputs.let_mac_fail }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
publish_release:
|
publish_release:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue