Skip to content

Commit

Permalink
ci: bump actions versions (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks authored Jan 25, 2024
1 parent c240630 commit a3af114
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
- run: brew install tree
if: ${{ inputs.runner == 'macos-latest' }}
- run: tree hipo
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build_deps
name: build_deps_hipo
retention-days: 1
path: hipo.tar.gz

Expand All @@ -70,10 +70,10 @@ jobs:
tar czvf fmt{.tar.gz,}
- run: tree fmt
if: ${{ inputs.runner != 'macos-latest' }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ inputs.runner != 'macos-latest' }}
with:
name: build_deps
name: build_deps_fmt
retention-days: 1
path: fmt.tar.gz

Expand Down Expand Up @@ -104,9 +104,10 @@ jobs:
run: python -m pip install meson ninja
### dependencies
- name: get dependency build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_deps
pattern: build_deps_*
merge-multiple: true
- run: brew install fmt
if: ${{ inputs.runner == 'macos-latest' }}
- name: untar build
Expand Down Expand Up @@ -179,7 +180,7 @@ jobs:
### upload artifacts
- name: tar
run: tar czvf iguana{.tar.gz,}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build_iguana_${{ matrix.binding }}
retention-days: 1
Expand All @@ -198,7 +199,7 @@ jobs:
run: tar xzvf validation_files.tar.gz
- name: select one file
run: mv -v $(find validation_files -type f -name "*.hipo" | head -n1) test_data.hipo
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: validation_files
retention-days: 1
Expand Down Expand Up @@ -234,17 +235,18 @@ jobs:
python -m pip install -r iguana_src/bind/python/requirements.txt
### dependencies and test data
- name: get dependency build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_deps
pattern: build_deps_*
merge-multiple: true
- run: brew install fmt
if: ${{ inputs.runner == 'macos-latest' }}
- name: get iguana build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_iguana_${{ matrix.binding }}
- name: get test data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: validation_files
- name: untar artifacts
Expand Down Expand Up @@ -294,17 +296,18 @@ jobs:
run: python -m pip install meson ninja
### dependencies and test data
- name: get dependency build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_deps
pattern: build_deps_*
merge-multiple: true
- run: brew install fmt
if: ${{ inputs.runner == 'macos-latest' }}
- name: get iguana build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_iguana_cpp
- name: get test data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: validation_files
- name: untar artifacts
Expand Down Expand Up @@ -345,7 +348,7 @@ jobs:
uses: mattnotmitt/doxygen-action@v1
with:
doxyfile-path: doc/Doxyfile
- uses: actions/upload-pages-artifact@v2
- uses: actions/upload-pages-artifact@v3
with:
retention-days: 1
path: doc/api/
Expand All @@ -364,7 +367,7 @@ jobs:
steps:
- name: deployment
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

# finalize
#########################################################
Expand Down

0 comments on commit a3af114

Please sign in to comment.