Skip to content

Commit

Permalink
Use actions/download-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed May 29, 2024
1 parent f3bc6b7 commit d8defff
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Download build artifact cross-build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cross-build
- run: tests/test-aws-lambda.sh
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
env:
PGSERVICE: ${{ steps.pg.outputs.service-name }}
- name: Download build artifact build-${{ matrix.target }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-${{ matrix.target }}
path: target/
Expand All @@ -366,7 +366,7 @@ jobs:
run: diff --brief --recursive --new-file tests/output tests/expected
- name: Download Debian package (Linux)
if: matrix.target == 'x86_64-unknown-linux-gnu'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-debian-x86_64
path: target/
Expand Down Expand Up @@ -466,7 +466,7 @@ jobs:
docker cp ${{ job.services.postgres.id }}:/etc/ssl/certs/ssl-cert-snakeoil.pem target/certs/server.crt
docker cp ${{ job.services.postgres.id }}:/etc/ssl/private/ssl-cert-snakeoil.key target/certs/server.key
- name: Download build artifact build-x86_64-unknown-linux-gnu
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-x86_64-unknown-linux-gnu
path: target_releases/
Expand All @@ -485,7 +485,7 @@ jobs:
env:
DATABASE_URL: postgres://${{ env.PGUSER }}:${{ env.PGUSER }}@${{ env.PGHOST }}:${{ job.services.postgres.ports[5432] }}/${{ env.PGDATABASE }}?sslmode=${{ matrix.sslmode }}
- name: Download Debian package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-debian-x86_64
path: target_releases/
Expand Down Expand Up @@ -533,34 +533,34 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4
- name: Download build artifact build-aarch64-apple-darwin
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-aarch64-apple-darwin
path: target/aarch64-apple-darwin
- name: Download build artifact build-x86_64-apple-darwin
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-x86_64-apple-darwin
path: target/x86_64-apple-darwin
- name: Download build artifact build-x86_64-unknown-linux-gnu
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-x86_64-unknown-linux-gnu
path: target/x86_64-unknown-linux-gnu

- name: Download cross-build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: cross-build
path: target/cross

- name: Download build artifact build-x86_64-pc-windows-msvc
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-x86_64-pc-windows-msvc
path: target/x86_64-pc-windows-msvc
- name: Download build artifact build-debian-x86_64
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-debian-x86_64
path: target/debian-x86_64
Expand Down

0 comments on commit d8defff

Please sign in to comment.