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 2424 tag : ${{ env.RELEASE_TAG }}
2525 image-zip : ${{ env.IMAGE_ZIP }}
2626 image-url : ${{ env.IMAGE_URL }}
27+ e2e-branch : ${{ env.E2E_BRANCH }}
2728 steps :
2829
2930 - name : " ⬇ Checkout"
@@ -131,6 +132,17 @@ jobs:
131132
132133 echo "OCTOPRINT_VERSION=$OCTOPRINT_VERSION" >> $GITHUB_ENV
133134
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+
134146 - name : " ⬇ Download OctoPi"
135147 id : octopi_download
136148 run : |
@@ -240,7 +252,7 @@ jobs:
240252 workflow : Test against testrig
241253 repo : OctoPrint/devtools
242254 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 }}" }'
244256 repost-logs : false
245257
246258 deploy :
You can’t perform that action at this time.
0 commit comments