Don't use GITHUB_OUTPUT (#1911)

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-04-21 16:59:12 +01:00 committed by GitHub
parent 14ae685f96
commit 4183713e82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View file

@ -61,7 +61,6 @@ jobs:
needs:
- check-requirements
outputs:
release-changes: ${{ steps.update-repo.outputs.release-changes }}
release-version: ${{ steps.update-repo.outputs.release-version }}
steps:
- uses: actions/checkout@v3

View file

@ -1,12 +1,13 @@
#!/usr/bin/env python
import argparse
import os
import pathlib
import re
import sys
import pathlib
import argparse
import requests
from datetime import datetime
import requests
REPO_ROOT = pathlib.Path(__file__).resolve().parent.parent.parent.parent
@ -175,10 +176,6 @@ def main():
flush=True,
)
cut_release_changes.write_text(changelog["body"])
if github_output is not None:
with open(github_output, "a", encoding="utf-8") as wfh:
wfh.write(f"release-changes={changelog['body']}\n")
print(
f"* Updating {changelog_file.relative_to(REPO_ROOT)} ...",
file=sys.stderr,