fix ci. Remove unused stuff from action.
add example of how to sign also. Change action path. Update README.md Update builds.yml Update builds.ymlpull/27/head
parent
3a2f003af7
commit
bec21db933
|
@ -8,9 +8,6 @@ inputs:
|
|||
arch:
|
||||
required: true
|
||||
description: Target architecture.
|
||||
godot-cpp-location:
|
||||
default: 'godot-cpp'
|
||||
description: godot-cpp source code location.
|
||||
float-precision:
|
||||
default: 'single'
|
||||
description: Float precision (single or double).
|
||||
|
|
|
@ -115,12 +115,14 @@ jobs:
|
|||
with:
|
||||
platform: ${{ matrix.platform }}
|
||||
arch: ${{ matrix.arch }}
|
||||
godot-cpp-location: godot-cpp
|
||||
float-precision: ${{ matrix.float-precision }}
|
||||
build-target-type: template_release
|
||||
# Sign
|
||||
- name: Mac Sign
|
||||
if: ${{ matrix.platform == 'macos' }}
|
||||
# Disable sign if secrets are not set
|
||||
if: ${{ matrix.platform == 'macos' && env.APPLE_CERT_BASE64 }}
|
||||
env:
|
||||
APPLE_CERT_BASE64: ${{ secrets.APPLE_CERT_BASE64 }}
|
||||
uses: ./.github/actions/sign
|
||||
with:
|
||||
FRAMEWORK_PATH: bin/macos/macos.framework
|
||||
|
|
16
README.md
16
README.md
|
@ -66,13 +66,25 @@ jobs:
|
|||
submodules: true
|
||||
fetch-depth: 0
|
||||
- name: 🔗 GDExtension Build
|
||||
uses: ughuuu/godot-cpp-template/.github/actions/build@main
|
||||
uses: godotengine/godot-cpp-template/.github/actions/build@main
|
||||
with:
|
||||
platform: ${{ matrix.platform }}
|
||||
arch: ${{ matrix.arch }}
|
||||
godot-cpp-location: godot-cpp
|
||||
float-precision: single
|
||||
build-target-type: template_release
|
||||
- name: Mac Sign
|
||||
if: ${{ matrix.platform == 'macos' && env.APPLE_CERT_BASE64 }}
|
||||
env:
|
||||
APPLE_CERT_BASE64: ${{ secrets.APPLE_CERT_BASE64 }}
|
||||
uses: godotengine/godot-cpp-template/.github/actions/sign@main
|
||||
with:
|
||||
FRAMEWORK_PATH: bin/macos/macos.framework
|
||||
APPLE_CERT_BASE64: ${{ secrets.APPLE_CERT_BASE64 }}
|
||||
APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }}
|
||||
APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }}
|
||||
APPLE_DEV_ID: ${{ secrets.APPLE_DEV_ID }}
|
||||
APPLE_DEV_TEAM_ID: ${{ secrets.APPLE_DEV_TEAM_ID }}
|
||||
APPLE_DEV_APP_ID: ${{ secrets.APPLE_DEV_APP_ID }}
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue