We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4105d commit 73ea3e6Copy full SHA for 73ea3e6
1 file changed
.github/workflows/static.yaml
@@ -224,6 +224,19 @@ jobs:
224
with:
225
ref: ${{ needs.prepare.outputs.ref }}
226
persist-credentials: false
227
+ - name: Set FRANKENPHP_VERSION
228
+ run: |
229
+ if [ "${GITHUB_REF_TYPE}" == "tag" ]; then
230
+ export FRANKENPHP_VERSION=${GITHUB_REF_NAME:1}
231
+ elif [ "${GITHUB_EVENT_NAME}" == "schedule" ]; then
232
+ export FRANKENPHP_VERSION="${REF}"
233
+ else
234
+ export FRANKENPHP_VERSION=${GITHUB_SHA}
235
+ fi
236
+
237
+ echo "FRANKENPHP_VERSION=${FRANKENPHP_VERSION}" >> "${GITHUB_ENV}"
238
+ env:
239
+ REF: ${{ needs.prepare.outputs.ref }}
240
- name: Set up Docker Buildx
241
uses: docker/setup-buildx-action@v3
242
0 commit comments