SAP-samples / btp-setup-automator

Automate the setup of your SAP BTP account with the SAP BTP CLI and other CLI tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] GH Actions - Deprecation of `set-output` and `save-state`

lechnerc77 opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest docker image for BTPSA?

  • I'm using the latest docker image for BTPSA.

Which area is mainly impacted

Other

Current Behavior

According to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ the set-output command will be deprecated lates in 2023.
The GH actions must be adjusted to the new functionality of GITHUB_STATE and GITHUB_OUTPUT environment files

Expected Behavior

Usage of GITHUB_STATE and GITHUB_OUTPUT environment files for intermediate output

Steps To Reproduce

Execute GitHub Action in this repo that build temporary containers

Logs and configuration files available?

n/a

Anything else?

No response

GH Action files subject to issue:

  • stage-integration-test-slim.yml (set-output)
  • stage-integration-test-full.yml (set-output)

No usage of save-state in the workflows

Fixed with PR #278