@@ -138,7 +138,7 @@ jobs:
138
138
139
139
- name : Upload artifact
140
140
if : matrix.ext == 'rpm'
141
- uses : actions/upload-artifact@v1
141
+ uses : actions/upload-artifact@v2
142
142
with :
143
143
name : build-${{ matrix.target }}
144
144
path : hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.rpm
@@ -150,21 +150,21 @@ jobs:
150
150
151
151
- name : Upload artifact
152
152
if : matrix.ext == 'deb'
153
- uses : actions/upload-artifact@v1
153
+ uses : actions/upload-artifact@v2
154
154
with :
155
155
name : build-${{ matrix.target }}
156
156
path : hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.deb
157
157
158
158
- name : Upload artifact
159
159
if : matrix.ext == 'tar.gz'
160
- uses : actions/upload-artifact@v1
160
+ uses : actions/upload-artifact@v2
161
161
with :
162
162
name : build-${{ matrix.target }}
163
163
path : hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.tar.gz
164
164
165
165
- name : Upload artifact
166
166
if : matrix.ext == 'zip'
167
- uses : actions/upload-artifact@v1
167
+ uses : actions/upload-artifact@v2
168
168
with :
169
169
name : build-${{ matrix.target }}
170
170
path : hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.zip
@@ -199,7 +199,7 @@ jobs:
199
199
- run : |
200
200
echo '${{ steps.create-release.outputs.upload_url }}' > release_upload_url.txt
201
201
202
- - uses : actions/upload-artifact@v1
202
+ - uses : actions/upload-artifact@v2
203
203
with :
204
204
name : create-release
205
205
path : release_upload_url.txt
0 commit comments