Skip to content

Commit c9d82f4

Browse files
authored
update workflow to resolve use of deprecated methods (#2364)
1 parent 2142ccd commit c9d82f4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/addon-checker.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010

1111
- name: Checkout
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
1515

@@ -22,11 +22,13 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip3 install --user kodi-addon-checker
25+
2526
- name: Extract job variables
2627
shell: bash
27-
run: echo "##[set-output name=addon;]$(git diff --diff-filter=d --name-only HEAD~ | grep / | cut -d / -f1 | sort | uniq)"
28+
29+
run: |
30+
echo "addon=$(git diff --diff-filter=d --name-only HEAD~ | grep / | cut -d / -f1 | sort | uniq)" >> $GITHUB_OUTPUT
2831
id: extract_vars
2932

3033
- name: Addon-Check
3134
run: $HOME/.local/bin/kodi-addon-checker --branch=${{ github.event.pull_request.base.ref }} --PR ${{ steps.extract_vars.outputs.addon }}
32-

0 commit comments

Comments
 (0)