From f31910c367575c5db430c98c819ee530cd380390 Mon Sep 17 00:00:00 2001 From: data-bomb Date: Sat, 27 Jan 2024 09:53:32 -0800 Subject: [PATCH] Updating deprecated Node.js 16 actions --- .github/workflows/cicd-push.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cicd-push.yml b/.github/workflows/cicd-push.yml index 599c636..d315c3a 100644 --- a/.github/workflows/cicd-push.yml +++ b/.github/workflows/cicd-push.yml @@ -19,7 +19,7 @@ jobs: get-commit-number: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Generate the commit number @@ -33,8 +33,8 @@ jobs: find-if-nuget-update-is-needed: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: dorny/paths-filter@v2 + - uses: actions/checkout@v4 + - uses: dorny/paths-filter@v3 id: checkAdminMod with: filters: | @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET SDK uses: actions/setup-dotnet@v3 with: @@ -94,7 +94,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Generate matrix with all modules of the repo id: set-matrix @@ -121,7 +121,7 @@ jobs: shell: bash run: echo "START_DIR=`pwd`" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download QList uses: robinraju/release-downloader@v1.8 @@ -165,17 +165,17 @@ jobs: cp ${{ env.START_DIR }}/${{ matrix.path }}/bin/${{env.BUILD_TYPE}}/netstandard2.1/*.dll dedi/Mods cp ${{ env.START_DIR }}/${{ matrix.path }}/bin/${{env.BUILD_TYPE}}/net6.0/*.dll listen/Mods - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.path }}-build-${{ env.GITHUB_SHA_SHORT }} path: ${{ matrix.path }}/bin/${{env.BUILD_TYPE}}/**/*.dll - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dedicated-server-${{ env.GITHUB_SHA_SHORT }} path: ${{ env.START_DIR }}/dedi - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: listen-server-${{ env.GITHUB_SHA_SHORT }} path: ${{ env.START_DIR }}/listen @@ -196,12 +196,12 @@ jobs: mkdir -p release/dedi mkdir -p release/listen - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: dedicated-server-${{ env.GITHUB_SHA_SHORT }} path: release/dedi - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: listen-server-${{ env.GITHUB_SHA_SHORT }} path: release/listen