Skip to content

πŸ’š Possible fix for workflow_dispatch? #102

πŸ’š Possible fix for workflow_dispatch?

πŸ’š Possible fix for workflow_dispatch? #102

Workflow file for this run

name: Build Loop
on: [ workflow_dispatch ]
jobs:
build_with_signing:
name: Build Loop
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Switch Xcode version
run: |
sudo xcode-select -s "/Applications/Xcode_15.2.app"
/usr/bin/xcodebuild -version
- name: Install dependencies
run: |
brew install xcbeautify create-dmg
- name: Build Loop.app
run: |

Check failure on line 24 in .github/workflows/build-loop.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-loop.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
set -o pipefail && xcodebuild archive \
-project ./Loop.xcodeproj \
-destination "generic/platform=macOS" \
-scheme "Loop" \
-configuration Debug \
-archivePath "./Build/Loop.xcarchive" \
-xcconfig "./Loop/Config.xcconfig" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
CODE_SIGN_IDENTITY= \
CODE_SIGN_ENTITLEMENTS= \
GCC_OPTIMIZATION_LEVEL=s \
SWIFT_OPTIMIZATION_LEVEL=-O \
GCC_GENERATE_DEBUGGING_SYMBOLS=YES \
DEBUG_INFORMATION_FORMAT=dwarf-with-dsym | xcbeautify
- name: Make DMG
run: |
create-dmg \
--volname "Loop" \
--background "./assets/graphics/dmg-background.png" \
--window-pos 200 120 \
--window-size 660 400 \
--icon-size 160 \
--icon "Loop.app" 180 170 \
--hide-extension "Loop.app" \
--app-drop-link 480 170 \
--no-internet-enable \
"./Build/Loop.dmg" \
"./Build/Loop.xcarchive/Products/Applications/"
- name: Make ZIP
run: |
cp -R ./Build/Loop.xcarchive/Products/Applications/ ./Build/
ditto -c -k --sequesterRsrc --keepParent ./Build/Loop.app ./Build/Loop.zip
- name: Upload build
uses: actions/[email protected]
with:
name: Loop Build
path: |
Build/Loop.zip
Build/Loop.dmg