WLAN-Pi / pi-gen

Image build tool for WLAN Pi RPi and CM4 based hardware
BSD 3-Clause "New" or "Revised" License
51 stars 7 forks source link

[CHORE]: set-output deprecation #40

Open joshschmelzle opened 2 years ago

joshschmelzle commented 2 years ago

GHA is deprecating use of set-output. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/.

https://github.com/WLAN-Pi/pi-gen/commit/f710433eac03f947020154cf713bf5da5114bb06 attempts to address set-output deprecation for us, but fails in /pi-gen/export-image/04-finalise/01-run.sh. https://github.com/WLAN-Pi/pi-gen/commit/6a076ab4229b386ab0c9b963dcab506531477f05 reverts the change for now because we have until June 2023 to figure this out.

Error in the GHA build job log is ./01-run.sh: line 92: $GITHUB_OUTPUT: ambiguous redirect.

joshschmelzle commented 1 year ago

https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/