uraimo / run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
BSD 3-Clause "New" or "Revised" License
677 stars 149 forks source link

Update `$GITHUB_` and `$RUNNER_` env vars #53

Closed fniephaus closed 3 years ago

fniephaus commented 3 years ago

This PR updates the list of $GITHUB_ and $RUNNER_ environment variables that are passed into the Docker environment according to the official docs.

Fixes #52 (/cc @marceltaeumel)

uraimo commented 3 years ago

Thanks @fniephaus for the cleanup too.

marceltaeumel commented 1 year ago

Note that $GITHUB_ENV is still not supported in version 2.5.0:

./scripts/ci/actions_build.sh: line 59: /home/runner/work/_temp/_runner_file_commands/set_env_122f1e12-d69c-45fe-89c2-f2ac4833dc08: No such file or directory

See https://github.com/uraimo/run-on-arch-action/issues/52

And ::set-output name= will be deprecated soon... :-( https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

myfingerhurt commented 1 year ago

In marketplace https://github.com/marketplace/actions/run-on-architecture The Basic example is still using echo ::set-output name=uname::$(uname -a)

uraimo commented 1 year ago

@myfingerhurt yes, that other issue is still not fixed in master, I'm doing it in release-3.0.0, not straightforward, they now expect the output to be forwarded to a file on host instead of just grabbing variables from the script output.

Anyway, it should still be just a warning.