Skip to content

Commit

Permalink
Updating deprecated Node.js 16 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
data-bomb authored Jan 27, 2024
1 parent 4f35371 commit f31910c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/cicd-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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/[email protected]
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f31910c

Please sign in to comment.