Skip to content

Commit

Permalink
Use GITHUB_OUTPUT instead of set-output (#2483)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyc-splunk authored Jan 19, 2023
1 parent 75e7eac commit c04d35e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chef.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo "Failed to get version from deployments/chef/metadata.rb"
exit 1
fi
echo "::set-output name=version::${version}"
echo "version=${version}" >> $GITHUB_OUTPUT
- name: Push new release tag if it doesn't exist
uses: actions/github-script@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deps-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
run: |
OTEL_VERSION=${{ env.OTEL_VERSION }} ./internal/buildscripts/update-deps 2>&1 | tee -a /tmp/output.txt
if git diff --exit-code; then
echo "::set-output name=has_changes::false"
echo "has_changes=false" >> $GITHUB_OUTPUT
else
echo "::set-output name=has_changes::true"
echo "has_changes=true" >> $GITHUB_OUTPUT
fi
- name: Compile
shell: bash
Expand Down

0 comments on commit c04d35e

Please sign in to comment.