Skip to content

Commit

Permalink
Get last line of output file
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Nov 1, 2023
1 parent 600052e commit a9b780a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_update_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,6 @@ def main_patch(docker_compose_path, action):


def github_output():
return Path(os.environ['GITHUB_OUTPUT']).read_text().rstrip()
return Path(
os.environ['GITHUB_OUTPUT']
).read_text().rstrip().split('\n')[-1]

0 comments on commit a9b780a

Please sign in to comment.