Skip to content

Commit

Permalink
ci: update actions versions and usage
Browse files Browse the repository at this point in the history
* bump actions/checkout to v3
* explicitly checkout modflow6 develop branch
* run build_nightly.py with shell: pwsh on Windows
  • Loading branch information
wpbonelli committed Nov 3, 2022
1 parent 38d4d06 commit 5c8bf69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly-build-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3

- name: Setup Python
uses: actions/[email protected]
Expand All @@ -63,6 +63,7 @@ jobs:
with:
repository: MODFLOW-USGS/modflow6
path: modflow6
ref: develop

- name: Update flopy classes
working-directory: modflow6/autotest
Expand All @@ -78,8 +79,8 @@ jobs:
- name: Build and zip (Windows)
if: runner.os == 'Windows'
working-directory: modflow6/distribution
shell: pwsh
run: |
export PATH="/C/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64":$PATH
python build_nightly.py
- name: Move the build zip file
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
with:
repository: MODFLOW-USGS/modflow6
path: modflow6
ref: develop

- name: Update flopy classes
working-directory: modflow6/autotest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
with:
repository: MODFLOW-USGS/modflow6
path: modflow6
ref: develop

- name: Checkout modflow6 examples
uses: actions/checkout@v3
Expand Down

0 comments on commit 5c8bf69

Please sign in to comment.