Skip to content

Commit

Permalink
IBX-4145: Fix deprecation warnings due to set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
ibexa-yuna committed Nov 7, 2022
1 parent 87ed39f commit 39e56fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ADD . /app
WORKDIR /app

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

# A distroless container image with Python and some basics like SSL certificates
# https://github.com/GoogleContainerTools/distroless
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ outputs:
description: "Changelog output"
runs:
using: "docker"
image: "docker://ghcr.io/ibexa/changelog-generator-action:v2.0.2"
image: "docker://ghcr.io/ibexa/changelog-generator-action:v2.0.3"
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from github import Github, UnknownObjectException
from jira import JIRA, JIRAError
from github_action_utils import set_output

JIRA_SERVER = "https://issues.ibexa.co"
JIRA_PREFIX = f"{JIRA_SERVER}/browse/"
Expand Down Expand Up @@ -157,7 +158,7 @@ def main():
if bare_output:
print(messages)
else:
print(f"::set-output name=changelog::{prepare_output(messages)}")
set_output("changelog", prepare_output(messages))


if __name__ == "__main__":
Expand Down

0 comments on commit 39e56fc

Please sign in to comment.