Skip to content

Commit 822285a

Browse files
committed
🌱 Update to actions/upload-artifact@v4
v3 is no longer working.
1 parent c458559 commit 822285a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ jobs:
2727
echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
2828
fi
2929
30-
- name: create a .tgz file
30+
- name: create a .tgz file
3131
run: |
3232
tar --exclude .git -C .. -czf /tmp/hetzner-installimage-${{ steps.tag.outputs.tag }}.tgz hetzner-installimage
3333
3434
- name: upload artifact
35-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4
3636
with:
3737
path: /tmp/hetzner-installimage-${{ steps.tag.outputs.tag }}.tgz
3838

3939

40-
- name: upload release assets
40+
- name: upload release assets
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
run: |
4444
gh release create ${{ steps.tag.outputs.tag }} -t ${{ steps.tag.outputs.tag }} -n ""
45-
gh release upload ${{ steps.tag.outputs.tag }} /tmp/hetzner-installimage-${{ steps.tag.outputs.tag }}.tgz
45+
gh release upload ${{ steps.tag.outputs.tag }} /tmp/hetzner-installimage-${{ steps.tag.outputs.tag }}.tgz

0 commit comments

Comments
 (0)