mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-28 19:42:10 +00:00
ca7de6d6ae
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
)
24 lines
595 B
YAML
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
|