Skip to content

Commit

Permalink
Merge pull request #869 from camptocamp/backport/860-to-1.3
Browse files Browse the repository at this point in the history
[Backport 1.3] Upgrade deprecated set-output commands
  • Loading branch information
sbrunner authored Nov 21, 2022
2 parents 5e91c59 + 25878eb commit b694766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 65 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/changelog.yaml

This file was deleted.

6 changes: 4 additions & 2 deletions ci/requires_release
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3

import datetime
import os
from distutils.version import LooseVersion

import requests
Expand All @@ -21,8 +22,9 @@ def main() -> None:

print(f"days: {days}")
print(f"required: {required}")
print(f"##[set-output name=days;]{days}")
print(f"##[set-output name=required;]{required}")
with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as output_file:
output_file.write(f"days={days}\n")
output_file.write(f"required={required}\n")


if __name__ == "__main__":
Expand Down

0 comments on commit b694766

Please sign in to comment.