mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
Update upload artifact action in support of https://github.com/Unidata/netcdf-c/issues/3064
This commit is contained in:
parent
fb75ad6588
commit
2a23468339
32
.github/workflows/run_tests_ubuntu.yml
vendored
32
.github/workflows/run_tests_ubuntu.yml
vendored
@ -17,11 +17,14 @@ jobs:
|
|||||||
|
|
||||||
build-deps-serial:
|
build-deps-serial:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
hdf5: [ 1.10.8, 1.12.2, 1.14.3 ]
|
hdf5: [ 1.10.8, 1.12.2, 1.14.3 ]
|
||||||
|
runs-on: [ ubuntu-latest ]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.runs-on }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -127,11 +130,14 @@ jobs:
|
|||||||
nc-ac-tests-oneoff-serial-shared:
|
nc-ac-tests-oneoff-serial-shared:
|
||||||
|
|
||||||
needs: build-deps-serial
|
needs: build-deps-serial
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
hdf5: [ 1.14.3 ]
|
hdf5: [ 1.14.3 ]
|
||||||
|
runs-on: [ ubuntu-latest ]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -208,9 +214,9 @@ jobs:
|
|||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
run: make dist -j
|
run: make dist -j
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: netcdf-c-autotools-source-distribution
|
name: netcdf-c-autotools-source-distribution-${{ matrix.runs-on }}
|
||||||
path: |
|
path: |
|
||||||
*.tar*
|
*.tar*
|
||||||
*.zip
|
*.zip
|
||||||
@ -222,11 +228,14 @@ jobs:
|
|||||||
nc-ac-tests-oneoff-serial-static:
|
nc-ac-tests-oneoff-serial-static:
|
||||||
|
|
||||||
needs: build-deps-serial
|
needs: build-deps-serial
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
hdf5: [ 1.14.3 ]
|
hdf5: [ 1.14.3 ]
|
||||||
|
runs-on: [ ubuntu-latest ]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -303,9 +312,9 @@ jobs:
|
|||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
run: make dist -j
|
run: make dist -j
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: netcdf-c-autotools-source-distribution
|
name: netcdf-c-autotools-source-distribution-${{ matrix.runs-on }}
|
||||||
path: |
|
path: |
|
||||||
*.tar*
|
*.tar*
|
||||||
*.zip
|
*.zip
|
||||||
@ -637,7 +646,7 @@ jobs:
|
|||||||
nc-autotools:
|
nc-autotools:
|
||||||
|
|
||||||
needs: [ nc-cmake-tests-oneoff-serial-shared, nc-cmake-tests-oneoff-serial-static, nc-ac-tests-oneoff-serial-shared, nc-ac-tests-oneoff-serial-static, nc-cmake-tests-oneoff-parallel, nc-ac-tests-oneoff-parallel ]
|
needs: [ nc-cmake-tests-oneoff-serial-shared, nc-cmake-tests-oneoff-serial-static, nc-ac-tests-oneoff-serial-shared, nc-ac-tests-oneoff-serial-static, nc-cmake-tests-oneoff-parallel, nc-ac-tests-oneoff-parallel ]
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -645,11 +654,14 @@ jobs:
|
|||||||
use_nc4: [ nc3, nc4 ]
|
use_nc4: [ nc3, nc4 ]
|
||||||
use_dap: [ dap_off, dap_on ]
|
use_dap: [ dap_off, dap_on ]
|
||||||
use_nczarr: [ nczarr_off, nczarr_on ]
|
use_nczarr: [ nczarr_off, nczarr_on ]
|
||||||
|
runs-on: [ ubuntu-latest ]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: netcdf-c-autotools-source-distribution
|
name: netcdf-c-autotools-source-distribution-${{ matrix.runs-on }}
|
||||||
|
|
||||||
- name: Unpack source distribution
|
- name: Unpack source distribution
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
|
4
.github/workflows/run_tests_win_mingw.yml
vendored
4
.github/workflows/run_tests_win_mingw.yml
vendored
@ -72,9 +72,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload test failures
|
- name: Upload test failures
|
||||||
if: ${{ failure() && steps.tests.conclusion == 'failure' }}
|
if: ${{ failure() && steps.tests.conclusion == 'failure' }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: mingw-autotools-test-logs
|
name: mingw-autotools-test-logs-${{ matrix.msystem }}
|
||||||
path: |
|
path: |
|
||||||
*/*.log
|
*/*.log
|
||||||
*/*.trs
|
*/*.trs
|
||||||
|
Loading…
Reference in New Issue
Block a user