Skip to content

Commit 39e56fc

Browse files
committed
IBX-4145: Fix deprecation warnings due to set-output
1 parent 87ed39f commit 39e56fc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ADD . /app
33
WORKDIR /app
44

55
# We are installing a dependency here directly into our app source dir
6-
RUN pip install --target=/app pygithub==1.54.1 jira
6+
RUN pip install --target=/app pygithub==1.54.1 jira github-action-utils==1.1.0
77

88
# A distroless container image with Python and some basics like SSL certificates
99
# https://github.com/GoogleContainerTools/distroless

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ outputs:
1818
description: "Changelog output"
1919
runs:
2020
using: "docker"
21-
image: "docker://ghcr.io/ibexa/changelog-generator-action:v2.0.2"
21+
image: "docker://ghcr.io/ibexa/changelog-generator-action:v2.0.3"

main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
from github import Github, UnknownObjectException
66
from jira import JIRA, JIRAError
7+
from github_action_utils import set_output
78

89
JIRA_SERVER = "https://issues.ibexa.co"
910
JIRA_PREFIX = f"{JIRA_SERVER}/browse/"
@@ -157,7 +158,7 @@ def main():
157158
if bare_output:
158159
print(messages)
159160
else:
160-
print(f"::set-output name=changelog::{prepare_output(messages)}")
161+
set_output("changelog", prepare_output(messages))
161162

162163

163164
if __name__ == "__main__":

0 commit comments

Comments
 (0)