mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Don't use GITHUB_OUTPUT (#1911)
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
14ae685f96
commit
4183713e82
2 changed files with 4 additions and 8 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
11
.github/workflows/scripts/cut-release.py
vendored
11
.github/workflows/scripts/cut-release.py
vendored
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue