Skip to content

Commit 92f5121

Browse files
authored
Merge pull request #111 from Lycoon/staging
Release 2.0.1
2 parents ab3c884 + 0fb87a7 commit 92f5121

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/deploy-macos.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
APP_PATH: src-tauri/target/universal-apple-darwin/release/bundle/macos/Scriptio.app
1212
PKG_PATH: Scriptio.pkg
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515

1616
- name: Import Apple certificates
17-
uses: apple-actions/import-codesign-certs@v3
17+
uses: apple-actions/import-codesign-certs@v6
1818
with:
1919
p12-file-base64: ${{ secrets.APPLE_CERT_P12_COMBINED_BASE64 }}
2020
p12-password: ${{ secrets.APPLE_CERT_PASSWORD }}
2121

2222
- name: Download provisioning profile
23-
uses: apple-actions/download-provisioning-profiles@v3
23+
uses: apple-actions/download-provisioning-profiles@v5
2424
with:
2525
bundle-id: "app.scriptio"
2626
profile-type: "MAC_APP_STORE"
@@ -43,7 +43,9 @@ jobs:
4343

4444
- name: Embed provisioning profile
4545
run: |
46-
PROFILE=$(ls "$HOME/Library/MobileDevice/Provisioning Profiles/"*.provisionprofile | head -n 1)
46+
PROFILE=$(ls "$HOME/Library/MobileDevice/Provisioning Profiles/"*.provisionprofile \
47+
"$HOME/Library/MobileDevice/Provisioning Profiles/"*.mobileprovision \
48+
2>/dev/null | head -n 1)
4749
cp "$PROFILE" "$APP_PATH/Contents/embedded.provisionprofile"
4850
4951
- name: Build signed .pkg installer
@@ -54,7 +56,7 @@ jobs:
5456
"$PKG_PATH"
5557
5658
- name: Upload to App Store Connect
57-
uses: apple-actions/upload-testflight-build@v1
59+
uses: apple-actions/upload-testflight-build@v4
5860
with:
5961
app-path: ${{ env.PKG_PATH }}
6062
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}

0 commit comments

Comments
 (0)