fix deprecated set-output
command in workflow
This commit is contained in:
parent
50844821f8
commit
4508747635
6
.github/workflows/buildx.yml
vendored
6
.github/workflows/buildx.yml
vendored
@ -36,9 +36,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set output parameters.
|
# Set output parameters.
|
||||||
echo ::set-output name=tags::${TAGS}
|
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=docker_image::${DOCKER_IMAGE}
|
echo "docker_image=${DOCKER_IMAGE}" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=docker_platforms::linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/s390x
|
echo "docker_platforms=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/s390x" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# https://github.com/crazy-max/ghaction-docker-buildx
|
# https://github.com/crazy-max/ghaction-docker-buildx
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
2
.github/workflows/trigger-nightly.yml
vendored
2
.github/workflows/trigger-nightly.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
name: check latest commit is less than a day
|
name: check latest commit is less than a day
|
||||||
if: ${{ github.event_name == 'schedule' }}
|
if: ${{ github.event_name == 'schedule' }}
|
||||||
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
|
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "should_run=false" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
trigger-nightly:
|
trigger-nightly:
|
||||||
needs: check_date
|
needs: check_date
|
||||||
|
Loading…
Reference in New Issue
Block a user