2021-12-04 09:38:44 +00:00
|
|
|
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: |
|
2021-12-04 22:46:30 +00:00
|
|
|
bundle exec fastlane run create_keychain unlock:true lock_after_timeout:false timeout:6000
|
2023-07-06 17:46:01 +00:00
|
|
|
- uses: webiny/action-post-run@3.0.0
|
2021-12-04 09:38:44 +00:00
|
|
|
env:
|
|
|
|
KEYCHAIN_NAME: ${{ inputs.name }}
|
|
|
|
with:
|
|
|
|
run: |
|
|
|
|
bundle exec fastlane run delete_keychain
|