Skip to content

Commit bd9af23

Browse files
Reorganize pipeline
1 parent 1671bd1 commit bd9af23

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.buildkite/pipeline.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,23 +106,22 @@ steps:
106106
label: "🛠️ Build Demo (Swift $SWIFT_6_0_SWIFT_VERSION)"
107107
key: build_demo
108108
depends_on: test_swift_current
109-
env:
110-
IMAGE_ID: "$SWIFT_6_0_IMAGE_ID"
111109
artifact_paths: # Archive artifacts only for the production version of Swift
112110
- ".build/artifacts/*.ipa"
113111
- ".build/artifacts/*.dSYM.zip"
114112

113+
- label: "⬆️ Upload Demo to App Center"
114+
depends_on: build_demo
115+
plugins: [$CI_TOOLKIT]
116+
command: .buildkite/commands/upload-to-appcenter.sh
117+
if: build.pull_request.id != null
118+
119+
###################
120+
# Build Demo Distribution for older supported versions of Swift
121+
###################
115122
- <<: *demo_build
116123
label: "🛠️ Build Demo (Swift $SWIFT_5_10_VERSION)"
117124
key: build_swift_5_10
118125
depends_on: test_swift_5_10
119126
env:
120127
IMAGE_ID: "$SWIFT_5_10_IMAGE_ID"
121-
122-
- label: "⬆️ Upload Demo to App Center"
123-
depends_on: build_demo
124-
plugins: [$CI_TOOLKIT]
125-
env:
126-
IMAGE_ID: "$SWIFT_6_0_IMAGE_ID" # Upload only the production version of Swift
127-
command: .buildkite/commands/upload-to-appcenter.sh
128-
if: build.pull_request.id != null

0 commit comments

Comments
 (0)