File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 24
24
tag : ${{ env.RELEASE_TAG }}
25
25
image-zip : ${{ env.IMAGE_ZIP }}
26
26
image-url : ${{ env.IMAGE_URL }}
27
+ e2e-branch : ${{ env.E2E_BRANCH }}
27
28
steps :
28
29
29
30
- name : " ⬇ Checkout"
@@ -131,6 +132,17 @@ jobs:
131
132
132
133
echo "OCTOPRINT_VERSION=$OCTOPRINT_VERSION" >> $GITHUB_ENV
133
134
135
+ - name : " 🔎 Determine e2e branch"
136
+ run : |
137
+ E2E_BRANCH="master"
138
+ if [[ "${{ env.OCTOPRINT_VERSION }}" == *"-rc"* ]]; then
139
+ E2E_BRANCH="maintenance"
140
+ fi
141
+
142
+ echo "E2E branch: $E2E_BRANCH"
143
+
144
+ echo "E2E_BRANCH=$E2E_BRANCH" >> $GITHUB_ENV
145
+
134
146
- name : " ⬇ Download OctoPi"
135
147
id : octopi_download
136
148
run : |
@@ -240,7 +252,7 @@ jobs:
240
252
workflow : Test against testrig
241
253
repo : OctoPrint/devtools
242
254
ref : main
243
- inputs : ' {"image": "${{ needs.build.outputs.image-url }}", "target": "pic"}'
255
+ inputs : ' {"image": "${{ needs.build.outputs.image-url }}", "target": "pic", "e2e-branch": "${{ needs.build.outputs.e2e-branch }}" }'
244
256
repost-logs : false
245
257
246
258
deploy :
You can’t perform that action at this time.
0 commit comments