You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Love actions for macOS AppStore
v0.0.4-alpha
Pre-release
Github Action for building & deploying macOS .pkg
package of a LÖVE framework based game to the App Store.
This action would help you distribute your game THROUGH the App Store. If you want to distribute outside the App Store, please use love-actions-macos-portable
See related actions below:
Love actions for macOS portable
- name: Build macOS packages
id: build-packages
uses: 26F-Studio/love-actions-macos-appstore@main
with:
app-name: "My Love Game"
bundle-id: "org.love2d.my-game"
copyright: "Copyright © 2020-2022 XXX Co. All Rights Reserved."
icon-path: ./assets/macOS/icon.icns
love-package: "./game.love"
product-name: "my_game"
version-string: "2.3.4"
output-folder: "./dist"
account-username: ${{ secrets.APPLE_ACCOUNT_USERNAME }}
account-password: ${{ secrets.APPLE_ACCOUNT_PASSWORD }}
apple-distribution-base64: ${{ secrets.APPLE_CERT_APPLE_DISTRIBUTION }}
apple-distribution-password: ${{ secrets.APPLE_CERT_APPLE_DISTRIBUTION_PWD }}
team-id: "${{ secrets.APPLE_DEVELOPER_TEAM_ID }}"
Name | Required | Default | Description |
---|---|---|---|
app-name |
false |
"LÖVE for macOS" |
App display name. Used in platform/xcode/macosx/love-macosx.plist |
bundle-id |
false |
"org.love2d.macOS" |
App bundle id. Used in platform/xcode/love.xcodeproj/project.pbxproj |
copyright |
false |
"" |
App copyright info. Used in platform/xcode/macosx/love-macosx.plist |
icon-path |
false |
"./icon.icns" |
.icns format icon's path. Used in platform/xcode/Images.xcassets/OS X AppIcon.appiconset |
love-package |
false |
"./game.love" |
.love game package file path |
product-name |
false |
"love_app" |
Base name of the package. Used to rename products |
version-string |
false |
"11.4" |
App version string no more than 3 numbers. Used in platform/xcode/love.xcodeproj/project.pbxproj |
output-folder |
false |
"./build" |
Built packages output folder |
account-username |
true |
"" |
Apple ID username. Used to sign the app |
account-password |
true |
"" |
App specified password. Used to sign the app |
apple-distribution-base64 |
true |
"" |
Apple Distribution certificate base64 content. Used to sign the app |
apple-distribution-password |
true |
"" |
Apple Distribution certificate password. Used to sign the app |
team-id |
true |
"" |
Developer team id. Used to sign the app |
Name | Example | Description |
---|---|---|
package-paths |
./build/my_game.app |
Built packages' paths in a bash-style list relative to the repository root, separated by spaces |