Skip to content

Commit

Permalink
Migrate to v4 of actions/upload-artifact and actions/download-artifact (
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 authored Nov 20, 2024
1 parent ff4d3e0 commit 1a993e3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 1a993e3

Please sign in to comment.