Skip to content

Commit fb6ffba

Browse files
BoomchainLabssbiscigl
authored andcommitted
Update license-scheduled-check.yml
1 parent 94db0fc commit fb6ffba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/license-scheduled-check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@ jobs:
1414

1515
steps:
1616
- name: Checkout main
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
repository: aws/aws-sdk-cpp
2020
path: aws-sdk-cpp
2121
ref: main
2222
- name: Checkout stable version
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
with:
2525
repository: aws/aws-sdk-cpp
2626
path: new-ref
2727
ref: "1.9.85"
2828
- name: Checkout scancode
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030
with:
3131
repository: nexB/scancode-toolkit
3232
path: scancode-toolkit
3333
fetch-depth: 1
3434
- name: Set up Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v2
35+
uses: actions/setup-python@v4
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838
# ScanCode
@@ -45,4 +45,4 @@ jobs:
4545
./scancode-toolkit/scancode -l -n 30 --json-pp - ./new-ref/aws-cpp-sdk-core | grep short_name | sed -e 's/\"short_name\": //' -e 's/\"\,\?//g' | sort | uniq > new-licenses.txt
4646
# compare
4747
- name: License test
48-
run: if ! cmp old-licenses.txt new-licenses.txt; then echo "Licenses differ! Failing."; exit -1; else echo "Licenses are the same. Success."; exit 0; fi
48+
run: if ! cmp old-licenses.txt new-licenses.txt; then echo "Licenses differ! Failing."; exit -1; else echo "Licenses are the same. Success."; exit 0; fi

0 commit comments

Comments
 (0)