From 1cf1b0803b0c365bafd0347b1395c764db5eb703 Mon Sep 17 00:00:00 2001 From: "Marios S. Kyriakou" Date: Tue, 19 Mar 2024 13:18:11 +0200 Subject: [PATCH] Update workflows to use Node.js 20 due to deprecation of Node.js 16 --- .github/workflows/ccpp.yml | 5 ++--- .github/workflows/win32.yml | 4 ++-- .github/workflows/win64.yml | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 56e672c..090c5d6 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -11,8 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v4 - name: Setup build directory run: mkdir buildproducts @@ -30,7 +29,7 @@ jobs: cp include/epanet2_2.h buildproducts/ cp include/epanet2_enums.h buildproducts/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: libepanet-output path: buildproducts/ \ No newline at end of file diff --git a/.github/workflows/win32.yml b/.github/workflows/win32.yml index df3ecfe..cc9830f 100644 --- a/.github/workflows/win32.yml +++ b/.github/workflows/win32.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup build directory run: mkdir buildproducts @@ -28,7 +28,7 @@ jobs: copy include\epanet2_enums.h buildproducts\bin\Release shell: cmd - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: epanet2-win32 path: buildproducts\bin\Release \ No newline at end of file diff --git a/.github/workflows/win64.yml b/.github/workflows/win64.yml index ed62f9d..8b49817 100644 --- a/.github/workflows/win64.yml +++ b/.github/workflows/win64.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup build directory run: mkdir buildproducts @@ -28,7 +28,7 @@ jobs: copy include\epanet2_enums.h buildproducts\bin\Release shell: cmd - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: epanet2-win64 path: buildproducts\bin\Release \ No newline at end of file