Skip to content

Commit 534aa65

Browse files
authored
Add build artifacts; update checkout. (#27)
* Use watch-testing branch of loop * More logging * Update checkout action * Run workflow on push * Fix build issu * Upload artifacts * Update path of ipa and dsyms * Artifacts testing * Fix syntax error * Add another ls * Build derived assets for watch app earlier * Add buildlog to artifacts * Change trigger and update to Loop dev * Fix syntax for multiple artifact paths
1 parent a7b4f57 commit 534aa65

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.github/workflows/build_loop.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
# Checks-out the repo
1414
- name: Checkout Repo
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
with:
1717
submodules: recursive
1818

@@ -31,7 +31,7 @@ jobs:
3131
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }}
3232
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
3333

34-
# Upload encrypted output as artifact
34+
# Upload to TestFlight
3535
- name: Fastlane upload to TestFlight
3636
run: fastlane release
3737
env:
@@ -41,3 +41,12 @@ jobs:
4141
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }}
4242
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }}
4343
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
44+
45+
# Upload IPA and Symbols
46+
- name: Upload IPA and Symbol artifacts
47+
uses: actions/upload-artifact@v3
48+
with:
49+
name: build-artifacts
50+
path: |
51+
artifacts
52+
buildlog

Loop

fastlane/Fastfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,13 @@ platform :ios do
133133
scheme: "Loop (Workspace)",
134134
output_name: "Loop.ipa",
135135
configuration: "Release",
136-
destination: 'generic/platform=iOS'
136+
destination: 'generic/platform=iOS',
137+
buildlog_path: 'buildlog'
138+
)
139+
140+
copy_artifacts(
141+
target_path: "artifacts",
142+
artifacts: ["*.mobileprovision", "*.ipa", "*.dSYM.zip"]
137143
)
138144
end
139145

0 commit comments

Comments
 (0)