From e16ab1badffdc90a51046171da9c6c8bbdc873cf Mon Sep 17 00:00:00 2001 From: ya4ept Date: Mon, 27 May 2024 09:37:53 +0300 Subject: [PATCH] fix_GitHub_Actions Updated Actions: - "setup-python" to version 5 - "upload-artifact" to version 4 - "download-artifact" to version 4 - "cache" to version 4 --- .github/workflows/build_XSTools.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_XSTools.yml b/.github/workflows/build_XSTools.yml index 623a778bf9..7e1df9aa1d 100644 --- a/.github/workflows/build_XSTools.yml +++ b/.github/workflows/build_XSTools.yml @@ -58,7 +58,7 @@ jobs: - name: (Windows 2022) Setup python ${{ matrix.python }} ${{ matrix.architecture }} if: matrix.os == 'windows-2022' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} architecture: ${{ matrix.architecture }} @@ -66,7 +66,7 @@ jobs: - name: (Windows 2019) Check the Python2 cache if: matrix.os == 'windows-2019' id: cache-python2 - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: c:\python27 key: ${{ runner.os }}-python-${{ matrix.python }} @@ -114,7 +114,7 @@ jobs: - name: Check the Strawberry cache id: cache-strawberry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: c:\Strawberry key: ${{ runner.os }}-strawberry-${{ matrix.perl }} @@ -176,7 +176,7 @@ jobs: #################### - name: Making artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }} path: | @@ -235,7 +235,7 @@ jobs: - name: Check the Strawberry cache id: cache-strawberry if: runner.os == 'Windows' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: c:\Strawberry key: ${{ runner.os }}-strawberry-${{ matrix.perl }} @@ -256,7 +256,7 @@ jobs: perl --version - name: Restoring XTools from artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }} @@ -323,7 +323,7 @@ jobs: - name: (Ubuntu-22.04) Setup python ${{ matrix.python }} ${{ matrix.architecture }} if: matrix.os == 'ubuntu-22.04' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} architecture: ${{ matrix.architecture }} @@ -390,7 +390,7 @@ jobs: #################### - name: Making artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }} path: | @@ -442,7 +442,7 @@ jobs: perl --version - name: Restoring XTools from artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }}