Skip to content

Commit

Permalink
Fix deprecated set output (#2078)
Browse files Browse the repository at this point in the history
* remove deprecated set-output

* fix usage of $GITHUB_OUTPUT to ${GITHUB_OUTPUT}

* use env:GITHUB_OUTPUT for redirection
  • Loading branch information
Eslam-Nawara authored Oct 16, 2023
1 parent 1af75d9 commit e92dcd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set name of the development build
id: setname
run: |
echo "::set-output name=build::bootstrap-v$(date +%y%m%d.%-H%M%S.0)-dev.flist"
echo "build=bootstrap-v$(date +%y%m%d.%-H%M%S.0)-dev.flist" >> $GITHUB_OUTPUT
- name: Publish flist (${{ steps.setname.outputs.build }})
if: success()
uses: threefoldtech/publish-flist@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set name of the development build
id: setname
run: |
echo "::set-output name=build::zos:v$(date +%y%m%d.%-H%M%S.0)-dev.flist"
echo "build=zos:v$(date +%y%m%d.%-H%M%S.0)-dev.flist" >> $GITHUB_OUTPUT
- name: Publish flist (${{ github.sha }})
if: success()
Expand Down
2 changes: 1 addition & 1 deletion bins/bins-extra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ exclude_libs() {

github_name() {
# force github print
echo "::set-output name=name::${1}"
echo "name=${1}" >> $env:GITHUB_OUTPUT
echo "[+] github exported name: ${1}"
}

Expand Down

0 comments on commit e92dcd7

Please sign in to comment.