mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
CI: Fix checking xcode url secret availability
Apparently this doesn't work in "if" clauses.
This commit is contained in:
parent
24a123119a
commit
4a64b2aae6
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -80,6 +80,7 @@ jobs:
|
||||
BLOCKED_FORMULAS: 'speexdsp curl php composer'
|
||||
CODESIGN_IDENT: '-'
|
||||
HAVE_CODESIGN_IDENTITY: ${{ secrets.MACOS_SIGNING_IDENTITY != '' && secrets.MACOS_SIGNING_CERT != '' }}
|
||||
HAVE_XCODE_URL: ${{ secrets.XCODE_DOWNLOAD_URL != '' }}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@ -156,7 +157,7 @@ jobs:
|
||||
echo "::set-output name=commitHash::$(git rev-parse --short=9 HEAD)"
|
||||
|
||||
- name: 'Install Xcode 14 Beta'
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request' && env.HAVE_CODESIGN_IDENTITY == 'true' && secrets.XCODE_DOWNLOAD_URL != '' }}
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request' && env.HAVE_CODESIGN_IDENTITY == 'true' && env.HAVE_XCODE_URL == 'true' }}
|
||||
run: xcversion install "14 beta 4" --url=${{ secrets.XCODE_DOWNLOAD_URL }}
|
||||
|
||||
- name: 'Install dependencies'
|
||||
|
Loading…
Reference in New Issue
Block a user