Skip to content

Commit f17306e

Browse files
committed
update set-output cmds
1 parent 004b75d commit f17306e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: |
104104
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
105105
# configuration.
106-
echo "::set-output name=flag::--dry-run"
106+
echo "flag=--dry-run" >> "$GITHUB_OUTPUT"
107107
108108
- name: Checkout repository
109109
uses: actions/checkout@v3

.github/workflows/test-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Set report artifact name
103103
id: report-artifact-name
104104
run: |
105-
echo "::set-output name=report-artifact-name::${{ github.job }}"
105+
echo "report-artifact-name=${{ github.job }}" >> "$GITHUB_OUTPUT"
106106
107107
- name: Save sketches report as workflow artifact
108108
uses: actions/upload-artifact@v3

action-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ sudo apt-get install --yes python${PYTHON_PACKAGE_VERSION}-venv > /dev/null
4242

4343
# Set outputs for use in GitHub Actions workflow steps
4444
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter
45-
echo "::set-output name=python-command::$PYTHON_COMMAND"
46-
echo "::set-output name=python-venv-activate-script-path::$PYTHON_VENV_ACTIVATE_SCRIPT_PATH"
45+
echo "python-command=$PYTHON_COMMAND" >> "$GITHUB_OUTPUT"
46+
echo "python-venv-activate-script-path=$PYTHON_VENV_ACTIVATE_SCRIPT_PATH" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)