Skip to content

Commit

Permalink
Merge pull request #9 from eic/set-output-to-GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
fix: replace set-output with $GITHUB_OUTPUT
  • Loading branch information
wdconinc authored Oct 19, 2022
2 parents 9df4c0e + 4f7ef52 commit 6ddf4b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ runs:
${URL}/api/v4/projects/${PROJECT_ID}/trigger/pipeline
# Print and parse json
jq . response.json
echo "::set-output name=json::$(cat response.json)"
echo "::set-output name=web_url::$(cat response.json | jq -c '.web_url')"
echo "json=$(cat response.json)" >> $GITHUB_OUTPUT
echo "web_url=$(cat response.json | jq -c '.web_url')" >> $GITHUB_OUTPUT
shell: bash
env:
URL: ${{ inputs.url }}
Expand Down

3 comments on commit 6ddf4b4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitLab pipeline has been submitted for this commit:
"https://gitlab.com/eic/test-trigger-gitlab-ci/-/pipelines/671638240"

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitLab pipeline has been submitted for this commit:
"https://gitlab.com/eic/test-trigger-gitlab-ci/-/pipelines/676950917"

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitLab pipeline has been submitted for this commit:
"https://gitlab.com/eic/test-trigger-gitlab-ci/-/pipelines/1266704887"

Please sign in to comment.