Skip to content

Commit 1cd016c

Browse files
committed
(fix): upgrade upload-artifact
1 parent d39c5cf commit 1cd016c

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.github/workflows/deb-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
mv screenvivid*.deb /app/
5252
"
5353
- name: Upload Debian package as artifact
54-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: screenvivid-${{ github.ref_name }}.deb
5757
path: ./screenvivid*.deb

.github/workflows/macos-apple-sillicon-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
mv ScreenVivid-${{ github.ref_name }}-apple-silicon.dmg ../..
6666
6767
- name: Upload DMG
68-
uses: actions/upload-artifact@v3
68+
uses: actions/upload-artifact@v4
6969
with:
7070
name: ScreenVivid-${{ github.ref_name }}-apple-silicon.dmg
7171
path: ./ScreenVivid-${{ github.ref_name }}-apple-silicon.dmg

.github/workflows/windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
options: /O+ /F"ScreenVivid-${{ github.ref_name }}-Setup"
6464

6565
- name: Upload artifact
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: ScreenVivid-${{ github.ref_name }}-Setup.exe
6969
path: D:\a\screenvivid\screenvivid\packaging\windows\Output\ScreenVivid-${{ github.ref_name }}-Setup.exe

delete_tags.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
REMOTE=origin
4+
5+
for i in $(seq 101 102); do
6+
TAG="1.0.$i"
7+
# Delete local tag if exists (ignore errors)
8+
git tag -d "$TAG" 2>/dev/null
9+
# Delete remote tag (ignore errors)
10+
git push "$REMOTE" --delete "$TAG" 2>/dev/null || true
11+
done
12+

0 commit comments

Comments
 (0)