Skip to content

Commit a3445df

Browse files
authored
Update release.yml
1 parent 44f60ad commit a3445df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
swift build -c release --arch x86_64 --arch arm64
3939
40-
- name: Delete temp keychain
40+
- name: Delete temp keychain from previous run
4141
run: |
4242
/usr/bin/security delete-keychain signing_temp.keychain || true
4343
- name: Import Signing Certificates
@@ -50,6 +50,10 @@ jobs:
5050
codesign --force --options runtime --sign "$IDENTITY" .build/apple/Products/Release/rswift
5151
env:
5252
IDENTITY: 'Developer ID Application: Nonstrict B.V. (WT5N9FK54M)'
53+
- name: Delete temp keychain from this run
54+
if: always()
55+
run: |
56+
/usr/bin/security delete-keychain signing_temp.keychain || true
5357
- name: Store build artifact
5458
uses: actions/upload-artifact@v3
5559
with:

0 commit comments

Comments
 (0)