slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
155 stars 27 forks source link

Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated #261

Closed arunsathiya closed 7 months ago

arunsathiya commented 8 months ago

Summary

save-state and set-output commands used in GitHub Actions are deprecated and GitHub recommends using environment files.

This PR updates the usage of set-output to $GITHUB_OUTPUT

Instructions for envvar usage from GitHub docs:

https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

Testing

Special notes

I have scanned all repositories owned by slackapi (thanks to gh-clone-org extension from this issue) and there is only one instance of usage.

It's set-output on the npm-publish workflow for deno-slack-sdk repository.

Requirements

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ca8e418) 98.07% compared to head (34feb7c) 98.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #261 +/- ## ======================================= Coverage 98.07% 98.07% ======================================= Files 58 58 Lines 2280 2280 Branches 137 137 ======================================= Hits 2236 2236 Misses 42 42 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.