diff --git a/.github/workflows/license-scheduled-check.yml b/.github/workflows/license-scheduled-check.yml index 96ef385e33e..b68eb54aec7 100644 --- a/.github/workflows/license-scheduled-check.yml +++ b/.github/workflows/license-scheduled-check.yml @@ -14,25 +14,25 @@ jobs: steps: - name: Checkout main - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: aws/aws-sdk-cpp path: aws-sdk-cpp ref: main - name: Checkout stable version - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: aws/aws-sdk-cpp path: new-ref ref: "1.9.85" - name: Checkout scancode - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: nexB/scancode-toolkit path: scancode-toolkit fetch-depth: 1 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} # ScanCode @@ -45,4 +45,4 @@ jobs: ./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 # compare - name: License test - 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 \ No newline at end of file + 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