Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/template/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sorayuki committed Nov 13, 2023
2 parents ae6504f + e385ac1 commit e67aadc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/scripts/.build.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ ${_usage_host:-}"
-G "${generator}"
-DQT_VERSION=${QT_VERSION:-6}
-DCMAKE_BUILD_TYPE=${config}
-DCMAKE_INSTALL_PREFIX=/usr
)
local cmake_version
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:
jobs:
check-event:
name: Check GitHub Event Data 📡
name: Check GitHub Event Data 🔎
runs-on: ubuntu-22.04
defaults:
run:
Expand All @@ -29,7 +29,7 @@ jobs:
case "${GITHUB_EVENT_NAME}" in
pull_request)
config_data=('codesign:false' 'notarize:false' 'package:false' 'config:RelWithDebInfo')
if gh pr view --json labels \
if gh pr view ${{ github.event.number }} --json labels \
| jq -e -r '.labels[] | select(.name == "Seeking Testers")' > /dev/null; then
config_data[0]='codesign:true'
config_data[2]='package:true'
Expand Down Expand Up @@ -73,9 +73,9 @@ jobs:
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
print '::group::Clean Homebrew Environment'
typeset -a to_remove=()
local -a to_remove=()
if (( #to_remove > 0 )) brew uninstall --ignore-dependencies ${to_remove}
if (( #to_remove )) brew uninstall --ignore-dependencies ${to_remove}
print '::endgroup::'
local product_name
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Set Up Codesigning 🔑
uses: ./.github/actions/setup-macos-codesigning
if: ${{ fromJSON(needs.check-event.outputs.codesign) }}
if: fromJSON(needs.check-event.outputs.codesign)
id: codesign
with:
codesignIdentity: ${{ secrets.MACOS_SIGNING_APPLICATION_IDENTITY }}
Expand Down

0 comments on commit e67aadc

Please sign in to comment.