passepartout-apple/.github/actions/create-keychain/action.yml
Davide De Rosa ca7de6d6ae Unlock keychain after creation
Might be the reason behind build hanging up in CI, arguably
waiting for a keychain password prompt.

Now, the issue never happened while prepping #207.

When testing the PR though, the testing step was omitted. This
drastically reduced the time between keychain creation and the
build to reach the codesigning phase. By restoring tests in
between, the increase in time would likely incur in keychain
auto-locking up.

- Convert action to keychain creation only

- Restore xcpretty as irrelevant (2a5c231)
2021-12-04 11:52:59 +01:00

24 lines
595 B
YAML

name: "Create custom keychain"
inputs:
name:
description: "Keychain name"
required: true
password:
description: "Keychain password"
required: true
runs:
using: "composite"
steps:
- shell: bash
env:
KEYCHAIN_NAME: ${{ inputs.name }}
KEYCHAIN_PASSWORD: ${{ inputs.password }}
run: |
bundle exec fastlane run create_keychain unlock:true lock_after_timeout:false
- uses: webiny/action-post-run@2.0.1
env:
KEYCHAIN_NAME: ${{ inputs.name }}
with:
run: |
bundle exec fastlane run delete_keychain