Skip to content

Commit

Permalink
Try to fix export credentials for android
Browse files Browse the repository at this point in the history
  • Loading branch information
h4de5 committed Jul 24, 2024
1 parent 55c63a3 commit 46b23bc
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/godot-export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,13 @@ jobs:
gpg -d --passphrase "${{ secrets.ANDROID_KEYSTORE_PASS }}" --batch android.keystore.asc > android.keystore
# ...above this line is the workflow job setup
- name: use custom editor settings
- name: use custom editor settings and export credentials
run: |
mkdir -p ~/.config/godot
mkdir -p ~/.config/godot godot/.godot/
cp godot/editor_settings-3.tres ~/.config/godot/
cp godot/export_credentials.defaults ~/.config/godot/export_credentials.cfg
# mkdir -p ~/.config/godot godot/.godot/
# cp godot/export_credentials.defaults godot/.godot/export_credentials.cfg
- name: export godot
# Use latest version (see releases for all versions)
Expand All @@ -107,7 +110,7 @@ jobs:
use_godot_3: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: create release
uses: ncipollo/[email protected]
with:
Expand Down
45 changes: 45 additions & 0 deletions godot/export_credentials.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[preset.0]

script_encryption_key=""

[preset.0.options]

codesign/identity_type=0
codesign/identity=""
codesign/password=""

[preset.1]

script_encryption_key=""

[preset.2]

script_encryption_key=""

[preset.3]

script_encryption_key=""

[preset.3.options]

codesign/certificate_file=""
codesign/certificate_password=""
codesign/provisioning_profile=""
notarization/apple_id_name=""
notarization/apple_id_password=""
notarization/api_uuid=""
notarization/api_key=""
notarization/api_key_id=""

[preset.4]

script_encryption_key=""

[preset.4.options]

keystore/debug="../android.keystore"
keystore/debug_user="godot"
keystore/debug_password="godotpass"
keystore/release="../android.keystore"
keystore/release_user="godot"
keystore/release_password="godotpass"
4 changes: 2 additions & 2 deletions godot/export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ application/icon_interpolation=4
application/bundle_identifier="at.panlab.gamedev.godot.game"
application/signature=""
application/app_category="Games"
application/short_version=""
application/version=""
application/short_version="1.0"
application/version="1.0"
application/copyright=""
application/copyright_localized={}
application/min_macos_version="10.12"
Expand Down

0 comments on commit 46b23bc

Please sign in to comment.