From 1a993e379b2e103ea36e87255b5bcde1d9494c51 Mon Sep 17 00:00:00 2001 From: "Filipe Oliveira (Personal)" Date: Wed, 20 Nov 2024 10:57:17 +0000 Subject: [PATCH] Migrate to v4 of actions/upload-artifact and actions/download-artifact (#276) --- .github/workflows/release.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80d5ab02..14b99351 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: run: | cd sources && dpkg-buildpackage -S - name: Upload source package artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: source-${{ matrix.dist }} path: | @@ -76,7 +76,7 @@ jobs: - name: Prepare sbuild environment run: sudo ./debian/setup_sbuild.sh ${{ matrix.dist }} ${{ env.BUILD_ARCH }} - name: Get source package - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: source-${{ matrix.dist }} - name: Build binary package @@ -87,7 +87,7 @@ jobs: --build ${{ env.BUILD_ARCH }} \ --dist ${{ matrix.dist }} *.dsc - name: Upload binary package artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: binary-${{ matrix.dist }}-${{ matrix.arch }} path: | @@ -109,7 +109,9 @@ jobs: container: ${{ matrix.image }} steps: - name: Get binary packages - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 + with: + name: binary-${{ matrix.dist }}-${{ env.ARCH }} - name: Install packages run: | apt-get update @@ -130,7 +132,9 @@ jobs: env: APT_SIGNING_KEY: ${{ secrets.APT_SIGNING_KEY }} - name: Get binary packages - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 + with: + name: binary-${{ matrix.dist }}-${{ env.ARCH }} - name: Setup ruby uses: ruby/setup-ruby@v1 with: