Skip to content

Commit

Permalink
Migrate GitHub action output to environment file (#793)
Browse files Browse the repository at this point in the history
set-output is deprecated
  • Loading branch information
mathias-luedtke authored Oct 13, 2022
1 parent 830f496 commit 26ac131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion industrial_ci/src/folding/github_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ function ici_end_fold() {
}

function ici_report_result() {
echo "::set-output name=$1::$2"
echo "$1=$2" >> "$GITHUB_OUTPUT"
}
1 change: 1 addition & 0 deletions industrial_ci/src/isolation/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function ici_isolate() {
ici_forward_mount BASEDIR rw
ici_forward_mount CCACHE_DIR rw
ici_forward_mount SSH_AUTH_SOCK rw # forward ssh agent into docker container
ici_forward_mount GITHUB_OUTPUT rw # for ici_report_result in GitHub Actions

local run_opts
ici_parse_env_array run_opts DOCKER_RUN_OPTS
Expand Down

0 comments on commit 26ac131

Please sign in to comment.