Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deprecate set output #689

Merged
merged 4 commits into from
Jul 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: deprecate set output
r4mmer committed Jul 4, 2023
commit bf8569c4100d6329b7fb5bdace9a77bc37d6ce41
5 changes: 2 additions & 3 deletions extras/github/docker.py
Original file line number Diff line number Diff line change
@@ -3,9 +3,8 @@
from typing import Dict

def print_output(output: Dict):
for k, v in output.items():
print(f'::set-output name={k}::{v}')

str_output = '\n'.join(['{}={}'.format(k, v) for k, v in output.items()])
os.environ['GITHUB_OUTPUT'] += str_output + '\n'

def prep_base_version(environ: Dict):
GITHUB_REF = environ.get('GITHUB_REF')