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
|
||||
|
||||
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/
|
||||
4
.github/workflows/win32.yml
vendored
4
.github/workflows/win32.yml
vendored
@@ -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
|
||||
4
.github/workflows/win64.yml
vendored
4
.github/workflows/win64.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user