Skip to content

Commit 8467c20

Browse files
committed
Add artifacts to testing.
1 parent b02d092 commit 8467c20

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/integration_tests.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,26 @@ jobs:
7777
-sdk iphonesimulator \
7878
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' \
7979
EMAIL_SECRET=$EMAIL_SECRET \
80-
PASSWORD_SECRET=$PASSWORD_SECRET
80+
PASSWORD_SECRET=$PASSWORD_SECRET \
81+
-resultBundlePath Artifacts2.xcresult
82+
- name: Wait for xcresult file
83+
run: sleep 30
84+
- name: List files
85+
run: ls -R
86+
- name: Current path
87+
run: pwd
88+
- name: Make fake file.
89+
run: echo hello > Artifacts2.xcresult/world.txt
90+
- name: Wait to upload xcresult file
91+
run: sleep 30
92+
- name: Upload xcresult file
93+
uses: actions/upload-artifact@v4
94+
if: ${{ always() }}
95+
with:
96+
name: DaysUntilBirthday-${{ github.run_number }}.xcresult
97+
path: Samples/Swift/DaysUntilBirthday/Artifacts2.xcresult
98+
- name: List files again
99+
run: ls -R
81100

82101
app-check-api-token-tests:
83102
runs-on: macOS-13

0 commit comments

Comments
 (0)