diff --git a/action.yml b/action.yml index f1f731b..d4f95e4 100644 --- a/action.yml +++ b/action.yml @@ -7,6 +7,10 @@ inputs: description: "Github token to use when calling GitHub API to create Release" default: "" +outputs: + version: + description: "Version number" + runs: using: "docker" image: Dockerfile diff --git a/entrypoint.sh b/entrypoint.sh index 135e6cb..6d1b873 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,4 +22,7 @@ jq -n -r \ -H "Authorization: token $1" \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/$GITHUB_REPOSITORY/releases \ - -d @- \ No newline at end of file + -d @- + +echo "::set-output name=version::$next_version" +