Fix use of deprecated set-output
This commit is contained in:
parent
3b673c5169
commit
ce62fe2fee
1 changed files with 6 additions and 6 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
||||||
password: ${{ github.token }}
|
password: ${{ github.token }}
|
||||||
- name: Image Name
|
- name: Image Name
|
||||||
id: imagename
|
id: imagename
|
||||||
run: echo "::set-output name=name::ghcr.io/${GITHUB_REPOSITORY,,}/base"
|
run: echo "name=ghcr.io/${GITHUB_REPOSITORY,,}/base" >> $GITHUB_OUTPUT
|
||||||
- name: Stop Commands
|
- name: Stop Commands
|
||||||
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
||||||
- name: Build target base image
|
- name: Build target base image
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
password: ${{ github.token }}
|
password: ${{ github.token }}
|
||||||
- name: Image Name
|
- name: Image Name
|
||||||
id: imagename
|
id: imagename
|
||||||
run: echo "::set-output name=name::ghcr.io/${GITHUB_REPOSITORY,,}/base-${{ matrix.target }}"
|
run: echo "name=ghcr.io/${GITHUB_REPOSITORY,,}/base-${{ matrix.target }}" >> $GITHUB_OUTPUT
|
||||||
- name: Stop Commands
|
- name: Stop Commands
|
||||||
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
||||||
- name: Build target base image
|
- name: Build target base image
|
||||||
|
@ -120,8 +120,8 @@ jobs:
|
||||||
id: imagename
|
id: imagename
|
||||||
run: |
|
run: |
|
||||||
IMG="ghcr.io/${GITHUB_REPOSITORY,,}/${{ matrix.target }}-${{ matrix.variant }}"
|
IMG="ghcr.io/${GITHUB_REPOSITORY,,}/${{ matrix.target }}-${{ matrix.variant }}"
|
||||||
echo "::set-output name=name::${IMG/ /-}"
|
echo "name=${IMG/ /-}" >> $GITHUB_OUTPUT
|
||||||
echo "::set-output name=gh_repo::${GITHUB_REPOSITORY,,}"
|
echo "gh_repo=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
|
||||||
- name: Stop Commands
|
- name: Stop Commands
|
||||||
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
run: T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
|
||||||
- name: Build target base image
|
- name: Build target base image
|
||||||
|
@ -185,8 +185,8 @@ jobs:
|
||||||
NAME="Auto-Build $RELDATE"
|
NAME="Auto-Build $RELDATE"
|
||||||
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
||||||
hub release create $(for a in artifacts/*.{zip,tar.xz}; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
hub release create $(for a in artifacts/*.{zip,tar.xz}; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
||||||
echo "::set-output name=tag_name::${TAGNAME}"
|
echo "tag_name=${TAGNAME}" >> $GITHUB_OUTPUT
|
||||||
echo "::set-output name=rel_date::${RELDATE}"
|
echo "rel_date=${RELDATE}" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
- name: Update Latest
|
- name: Update Latest
|
||||||
|
|
Loading…
Reference in a new issue