Skip to content

Commit a185018

Browse files
authored
[ci] Increase keychain lock timeout (wpilibsuite#831)
1 parent 679943d commit a185018

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ jobs:
5959
startsWith(matrix.artifact-name, 'macOS') && (github.repository_owner == 'wpilibsuite') &&
6060
(startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/v'))
6161
62+
- name: Set Keychain Lock Timeout
63+
run: security set-keychain-settings -lut 21600
64+
if: |
65+
startsWith(matrix.artifact-name, 'macOS') && (github.repository_owner == 'wpilibsuite') &&
66+
(startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/v'))
67+
6268
- name: Build with Gradle
6369
run: ./gradlew build -PbuildServer -PdeveloperID=${{ secrets.APPLE_DEVELOPER_ID }}
6470
if: ${{ (matrix.arch-override == 'none') && (!github.repository_owner == 'wpilibsuite' || !startsWith(github.ref, 'refs/tags/v')) }}

0 commit comments

Comments
 (0)