Skip to content

Commit adfde85

Browse files
dblockclaude
andcommitted
Replace deprecated set-output commands with environment files.
Update both date and api-ref outputs to use $GITHUB_OUTPUT instead of the deprecated ::set-output command. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 32641cb commit adfde85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update_api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
run: rm -rf vendor
2929
- name: Get current date
3030
id: date
31-
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
31+
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
3232
- name: Get slack-api-ref ref
3333
id: api-ref
34-
run: echo "::set-output name=api-ref::$(git rev-parse --short HEAD:lib/slack/web/api/slack-api-ref)"
34+
run: echo "api-ref=$(git rev-parse --short HEAD:lib/slack/web/api/slack-api-ref)" >> $GITHUB_OUTPUT
3535
- name: GitHub App token
3636
if: ${{ github.repository == 'slack-ruby/slack-ruby-client' }}
3737
id: github_app_token

0 commit comments

Comments
 (0)