Skip to content

Commit 1a993e3

Browse files
Migrate to v4 of actions/upload-artifact and actions/download-artifact (#276)
1 parent ff4d3e0 commit 1a993e3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
cd sources && dpkg-buildpackage -S
3636
- name: Upload source package artifact
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
with:
3939
name: source-${{ matrix.dist }}
4040
path: |
@@ -76,7 +76,7 @@ jobs:
7676
- name: Prepare sbuild environment
7777
run: sudo ./debian/setup_sbuild.sh ${{ matrix.dist }} ${{ env.BUILD_ARCH }}
7878
- name: Get source package
79-
uses: actions/download-artifact@v2
79+
uses: actions/download-artifact@v4
8080
with:
8181
name: source-${{ matrix.dist }}
8282
- name: Build binary package
@@ -87,7 +87,7 @@ jobs:
8787
--build ${{ env.BUILD_ARCH }} \
8888
--dist ${{ matrix.dist }} *.dsc
8989
- name: Upload binary package artifact
90-
uses: actions/upload-artifact@v2
90+
uses: actions/upload-artifact@v4
9191
with:
9292
name: binary-${{ matrix.dist }}-${{ matrix.arch }}
9393
path: |
@@ -109,7 +109,9 @@ jobs:
109109
container: ${{ matrix.image }}
110110
steps:
111111
- name: Get binary packages
112-
uses: actions/download-artifact@v2
112+
uses: actions/download-artifact@v4
113+
with:
114+
name: binary-${{ matrix.dist }}-${{ env.ARCH }}
113115
- name: Install packages
114116
run: |
115117
apt-get update
@@ -130,7 +132,9 @@ jobs:
130132
env:
131133
APT_SIGNING_KEY: ${{ secrets.APT_SIGNING_KEY }}
132134
- name: Get binary packages
133-
uses: actions/download-artifact@v2
135+
uses: actions/download-artifact@v4
136+
with:
137+
name: binary-${{ matrix.dist }}-${{ env.ARCH }}
134138
- name: Setup ruby
135139
uses: ruby/setup-ruby@v1
136140
with:

0 commit comments

Comments
 (0)