Skip to content

Commit

Permalink
Fix warning of GitHub Actions:
Browse files Browse the repository at this point in the history
```
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files.
For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```
  • Loading branch information
epaew committed Oct 30, 2022
1 parent d8f2230 commit 52c5714
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/git-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
- name: Fetch changed file names
id: changed-files
run: |
echo "::set-output name=diff::" \
"$(git diff --diff-filter=d --name-only origin/${{ github.base_ref }} | tr '\n' ' ')"
echo "diff=$(git diff --diff-filter=d --name-only origin/${{ github.base_ref }} | tr '\n' ' ')" >> $GITHUB_OUTPUT
check-files-included:
name: Check ${{ matrix.target }} is/are changed
Expand Down

0 comments on commit 52c5714

Please sign in to comment.