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
v1.1.0
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: love-actions/love-actions-macos-appstore@v1
with:
app-name: My Love Game
bundle-id: org.love2d.my-game
copyright: Copyright © 2020-2022 XXX Co. All Rights Reserved.
love-ref: "11.4"
love-patch: "./love.patch"
icon-path: ./assets/macOS/icon.icns
love-package: ./game.love
libs-path: ./libs
extra-assets: ./README.md ./license.txt
product-name: my_game
version-string: 2.3.4
output-folder: ./dist
apple-development-base64: ${{ secrets.APPLE_CERT_APPLE_DEVELOPMENT_BASE64 }}
apple-development-password: ${{ secrets.APPLE_CERT_APPLE_DEVELOPMENT_PWD }}
api-key: ${{ secrets.APPLE_API_KEY }}
api-key-id: ${{ secrets.APPLE_API_KEY_ID }}
api-issuer-id: ${{ secrets.APPLE_API_ISSUER_ID }}
team-id: ${{ secrets.APPLE_DEVELOPER_TEAM_ID }}
apple-id: ${{ secrets.APPLE_APPLE_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-ref |
false |
"c35356c841976eb6f370347b81eec845d5520338" |
LÖVE git ref. Could be commit hash, tags or branch name |
love-patch |
false |
"" |
Git patch file path for the LÖVE repo. The patch must start from love-ref . You can use git diff -p <tag1> <tag2> to get the patch file |
love-package |
false |
"./game.love" |
.love game package file path |
libs-path |
false |
"" |
Path to the libraries folder. Would copy all contents to platform/xcode/ excluding top folder |
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 |
apple-development-base64 |
true |
"" |
Apple Development certificate base64 content. Used to sign the app |
apple-development-password |
true |
"" |
Apple Development certificate password. Used to sign the app |
api-key |
true |
"" |
App Store Connect API key content. Used to automaticly update profiles, app IDs and certificates |
api-key-id |
true |
"" |
App Store Connect API key ID. Used to automaticly update profiles, app IDs and certificates |
api-issuer-id |
true |
"" |
App Store Connect API issuer ID. Used to automaticly update profiles, app IDs and certificates |
team-id |
true |
"" |
Developer team id. Used to sign the app |
apple-id |
true |
"" |
App Apple ID. Used to upload the package |
Name | Example | Description |
---|---|---|
package-paths |
./build/my_game.pkg |
Built packages' paths in a bash-style list relative to the repository root, separated by spaces |