mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +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
|
||||
|
||||
on:
|
||||
- workflow_call
|
||||
workflow_call:
|
||||
inputs:
|
||||
let_mac_fail:
|
||||
description: "Do not require Mac builds to pass"
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
env:
|
||||
FFMPEG_INSTALL_FUSED: /opt/local
|
||||
|
@ -12,6 +18,7 @@ env:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: macos-14
|
||||
continue-on-error: ${{ inputs.let_mac_fail }}
|
||||
steps:
|
||||
- name: Set up signing certificate
|
||||
env:
|
||||
|
|
1
.github/workflows/prerelease.yml
vendored
1
.github/workflows/prerelease.yml
vendored
|
@ -20,4 +20,5 @@ jobs:
|
|||
draft: false
|
||||
prerelease: true
|
||||
tag_name: latest
|
||||
let_mac_fail: true
|
||||
secrets: inherit
|
||||
|
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -30,6 +30,11 @@ on:
|
|||
required: false
|
||||
default: "${{ github.ref }}"
|
||||
type: string
|
||||
let_mac_fail:
|
||||
description: "Do not require Mac builds to pass"
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
|
@ -94,6 +99,8 @@ jobs:
|
|||
vars.RELEASE_ENABLE == 'true' &&
|
||||
vars.MACOS_ENABLE == 'true'
|
||||
uses: ./.github/workflows/build_macos.yml
|
||||
with:
|
||||
let_mac_fail: ${{ inputs.let_mac_fail }}
|
||||
secrets: inherit
|
||||
|
||||
publish_release:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue