|
54 | 54 | version: ${{ needs.get-product-version.outputs.product-version }} |
55 | 55 | product: ${{ env.PKG_NAME }} |
56 | 56 |
|
57 | | - - uses: actions/upload-artifact@v2 |
| 57 | + - uses: actions/upload-artifact@v6 |
58 | 58 | with: |
59 | 59 | name: metadata.json |
60 | 60 | path: ${{ steps.generate-metadata-file.outputs.filepath }} |
@@ -123,7 +123,7 @@ jobs: |
123 | 123 | go build -ldflags="$GOLDFLAGS" -o dist/ . |
124 | 124 | zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip dist/ |
125 | 125 |
|
126 | | - - uses: actions/upload-artifact@v2 |
| 126 | + - uses: actions/upload-artifact@v6 |
127 | 127 | with: |
128 | 128 | name: ${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip |
129 | 129 | path: out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip |
@@ -154,13 +154,13 @@ jobs: |
154 | 154 | echo "RPM_PACKAGE=$(basename out/*.rpm)" >> $GITHUB_ENV |
155 | 155 | echo "DEB_PACKAGE=$(basename out/*.deb)" >> $GITHUB_ENV |
156 | 156 |
|
157 | | - - uses: actions/upload-artifact@v2 |
| 157 | + - uses: actions/upload-artifact@v6 |
158 | 158 | if: ${{ matrix.goos == 'linux' }} |
159 | 159 | with: |
160 | 160 | name: ${{ env.RPM_PACKAGE }} |
161 | 161 | path: out/${{ env.RPM_PACKAGE }} |
162 | 162 |
|
163 | | - - uses: actions/upload-artifact@v2 |
| 163 | + - uses: actions/upload-artifact@v6 |
164 | 164 | if: ${{ matrix.goos == 'linux' }} |
165 | 165 | with: |
166 | 166 | name: ${{ env.DEB_PACKAGE }} |
@@ -222,7 +222,7 @@ jobs: |
222 | 222 | go build -ldflags="$GOLDFLAGS" -tags netcgo -o dist/ . |
223 | 223 | zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip dist/ |
224 | 224 |
|
225 | | - - uses: actions/upload-artifact@v2 |
| 225 | + - uses: actions/upload-artifact@v6 |
226 | 226 | with: |
227 | 227 | name: ${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip |
228 | 228 | path: out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip |
|
0 commit comments