Update workflows to use Node.js 20 due to deprecation of Node.js 16
This commit is contained in:
5
.github/workflows/ccpp.yml
vendored
5
.github/workflows/ccpp.yml
vendored
@@ -11,8 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup build directory
|
- name: Setup build directory
|
||||||
run: mkdir buildproducts
|
run: mkdir buildproducts
|
||||||
|
|
||||||
@@ -30,7 +29,7 @@ jobs:
|
|||||||
cp include/epanet2_2.h buildproducts/
|
cp include/epanet2_2.h buildproducts/
|
||||||
cp include/epanet2_enums.h buildproducts/
|
cp include/epanet2_enums.h buildproducts/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: libepanet-output
|
name: libepanet-output
|
||||||
path: buildproducts/
|
path: buildproducts/
|
||||||
4
.github/workflows/win32.yml
vendored
4
.github/workflows/win32.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup build directory
|
- name: Setup build directory
|
||||||
run: mkdir buildproducts
|
run: mkdir buildproducts
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
copy include\epanet2_enums.h buildproducts\bin\Release
|
copy include\epanet2_enums.h buildproducts\bin\Release
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: epanet2-win32
|
name: epanet2-win32
|
||||||
path: buildproducts\bin\Release
|
path: buildproducts\bin\Release
|
||||||
4
.github/workflows/win64.yml
vendored
4
.github/workflows/win64.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup build directory
|
- name: Setup build directory
|
||||||
run: mkdir buildproducts
|
run: mkdir buildproducts
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
copy include\epanet2_enums.h buildproducts\bin\Release
|
copy include\epanet2_enums.h buildproducts\bin\Release
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: epanet2-win64
|
name: epanet2-win64
|
||||||
path: buildproducts\bin\Release
|
path: buildproducts\bin\Release
|
||||||
Reference in New Issue
Block a user