Skip to content

Commit acc2f7f

Browse files
nyurikikalnytskyi
authored andcommitted
Use $GITHUB_OUTPUT instead of ::set-output
The `::set-output` command has been deprecated and is scheduled for removal on Jun 1, 2023 [1]. The recommended way to set output parameters today is by writing them to `$GITHUB_OUTPUT` file [2]. [1] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ [2] https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter Resolves: ikalnytskyi#6
1 parent e5b7793 commit acc2f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ runs:
7979
- name: Expose connection URI
8080
run: |
8181
CONNECTION_URI="postgresql://${{ inputs.username }}:${{ inputs.password }}@localhost:${{inputs.port}}/${{ inputs.database }}"
82-
echo ::set-output name=value::$CONNECTION_URI
82+
echo "value=$CONNECTION_URI" >> $GITHUB_OUTPUT
8383
shell: bash
8484
id: connection-uri

0 commit comments

Comments
 (0)