Skip to content

Commit

Permalink
Bump actions/upload-artifact and actions/download-artifact to v4 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored Mar 13, 2024
1 parent 79490ff commit fcb8a83
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
distribution: 'temurin'
java-version: '8'
- run: mvn --batch-mode jar:jar javadoc:jar source:jar-no-fork
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: jars
path: target
Expand All @@ -33,7 +33,7 @@ jobs:
distribution: 'temurin'
java-version: '8'
- run: python setup.py sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- run: pip install --upgrade setuptools
- run: ${{ matrix.info.cmd }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.info.python }}-${{ matrix.info.machine }}-${{ matrix.info.arch }}
path: dist/*.whl
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- run: pip install --upgrade setuptools
- run: ${{ matrix.info.cmd }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.info.python }}-${{ matrix.info.machine }}-${{ matrix.info.arch }}
path: dist/*.whl
Expand All @@ -153,7 +153,7 @@ jobs:
*.platform=linux/arm64/v8
*.output=type=local,dest=/tmp/dist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bdist-wheels-linux-arm64
path: /tmp/dist/*.whl
Expand All @@ -164,12 +164,12 @@ jobs:
needs: ['sdist', 'bdist-wheel', 'bdist-wheel-universal2-hack', 'bdist-wheels-linux-arm64']
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: download-artifacts
- name: collect-artifacts.sh
run: .github/scripts/collect-artifacts.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: jpy
path: collect-artifacts
Expand All @@ -179,7 +179,7 @@ jobs:
runs-on: ubuntu-22.04
needs: ['collect-artifacts']
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: jpy
path: dist
Expand Down

0 comments on commit fcb8a83

Please sign in to comment.