Build Game #70
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Game | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Runs every day at midnight UTC | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| GAME_NAME: GodotGame | |
| GODOT_VERSION: 4.4.1-stable | |
| ANDROID_PACKAGE: com.appsinacup.world | |
| IOS_PACKAGE: com.appsinacup.world | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.platform.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [ | |
| { name: "Windows Desktop x86_64", os: "ubuntu-latest" }, | |
| { name: "Windows Desktop x86_32", os: "ubuntu-latest" }, | |
| { name: "Windows Desktop arm64", os: "ubuntu-latest" }, | |
| { name: "Linux x86_64", os: "ubuntu-latest" }, | |
| { name: "Linux x86_32", os: "ubuntu-latest" }, | |
| { name: "macOS", os: "macos-latest" }, | |
| { name: "iOS", os: "macos-latest" }, | |
| { name: "Android", os: "ubuntu-latest" }, | |
| { name: "Web", os: "ubuntu-latest" }, | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Game | |
| uses: appsinacup/action_export_godot_game@main | |
| with: | |
| godot-version: ${{ env.GODOT_VERSION }} | |
| game-name: ${{ env.GAME_NAME }} | |
| android-package: ${{ env.ANDROID_PACKAGE }} | |
| ios-package: ${{ env.IOS_PACKAGE }} | |
| platform-name: ${{ matrix.platform.name }} | |
| secret-macos-build-certificate-base64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} | |
| secret-p12-password: ${{ secrets.P12_PASSWORD }} | |
| secret-keychain-password: ${{ secrets.KEYCHAIN_PASSWORD }} | |
| secret-ios-distribution-certificate-base64: ${{ secrets.DISTRIBUTION_CERTIFICATE_BASE64 }} | |
| secret-ios-deploy-provision-profile-ios-base64: ${{ secrets.DEPLOY_PROVISION_PROFILE_IOS_BASE64 }} | |
| secret-apple-id: ${{ secrets.APPLE_ID }} | |
| secret-apple-team-id: ${{ secrets.APPLE_TEAM_ID }} | |
| secret-apple-password: ${{ secrets.APP_SPECIFIC_PASSWORD }} | |
| secret-android-keystore-base64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }} | |
| secret-android-keystore-password: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} | |
| secret-android-keystore-user: ${{ secrets.ANDROID_KEYSTORE_USER }} |