Skip to content

Commit 31d6326

Browse files
authored
chore: bump all github actions to latest major. this is mainly to get rid of the annoying deprecation warning on the actions page (#764)
1 parent 0922800 commit 31d6326

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
(github.event_name == 'workflow_dispatch' && github.event.inputs.build_type != 'guest-server-only')
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v5
29+
uses: actions/checkout@v6
3030
- name: Update USB IDs database
3131
run: |
3232
echo "Removing old usb.ids file..."
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Bun
4949
uses: oven-sh/setup-bun@v2
5050
- name: Set up Go
51-
uses: actions/setup-go@v5
51+
uses: actions/setup-go@v6
5252
with:
5353
go-version: "stable"
5454
cache-dependency-path: "guest_server/go.sum"
@@ -78,43 +78,43 @@ jobs:
7878
esac
7979
fi
8080
- name: Upload AppImage
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v7
8282
with:
8383
name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}.appimage
8484
path: dist/*.AppImage
8585
if-no-files-found: ignore
8686
- name: Upload DEB
87-
uses: actions/upload-artifact@v4
87+
uses: actions/upload-artifact@v7
8888
with:
8989
name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}.deb
9090
path: dist/*.deb
9191
if-no-files-found: ignore
9292
- name: Upload RPM
93-
uses: actions/upload-artifact@v4
93+
uses: actions/upload-artifact@v7
9494
with:
9595
name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}.rpm
9696
path: dist/*.rpm
9797
if-no-files-found: ignore
9898
- name: Upload TAR.BZ2
99-
uses: actions/upload-artifact@v4
99+
uses: actions/upload-artifact@v7
100100
with:
101101
name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}.tar.bz2
102102
path: dist/*.tar.bz2
103103
if-no-files-found: ignore
104104
- name: Upload unpacked directory
105-
uses: actions/upload-artifact@v4
105+
uses: actions/upload-artifact@v7
106106
with:
107107
name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}-unpacked.zip
108108
path: dist/linux-unpacked/**
109109
if-no-files-found: ignore
110110
- name: Upload guest server zip
111-
uses: actions/upload-artifact@v4
111+
uses: actions/upload-artifact@v7
112112
with:
113113
name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}-guest_server.zip
114114
path: dist/linux-unpacked/resources/guest_server/winboat_guest_server.zip
115115
if-no-files-found: ignore
116116
# - name: Upload metadata
117-
# uses: actions/upload-artifact@v4
117+
# uses: actions/upload-artifact@v7
118118
# with:
119119
# name: ${{ steps.meta.outputs.NAME }}-${{ steps.meta.outputs.VERSION }}-${{ steps.meta.outputs.ARCH }}-metadata
120120
# path: |
@@ -126,19 +126,19 @@ jobs:
126126
if: github.event_name == 'workflow_dispatch' && github.event.inputs.build_type == 'guest-server-only'
127127
steps:
128128
- name: Checkout code
129-
uses: actions/checkout@v5
129+
uses: actions/checkout@v6
130130
- name: Show build type
131131
run: |
132132
echo "Manual workflow triggered with build type: guest-server-only"
133133
- name: Set up Go
134-
uses: actions/setup-go@v5
134+
uses: actions/setup-go@v6
135135
with:
136136
go-version: "stable"
137137
cache-dependency-path: "guest_server/go.sum"
138138
- name: Build guest server only
139139
run: bash build-guest-server.sh
140140
- name: Upload guest server artifacts
141-
uses: actions/upload-artifact@v4
141+
uses: actions/upload-artifact@v7
142142
with:
143143
name: guest-server-artifacts
144144
path: guest_server/
@@ -149,7 +149,7 @@ jobs:
149149
(github.event_name == 'workflow_dispatch' && github.event.inputs.build_type == 'all')
150150
steps:
151151
- name: Checkout code
152-
uses: actions/checkout@v5
152+
uses: actions/checkout@v6
153153
- name: Update USB IDs database
154154
run: |
155155
echo "Removing old usb.ids file..."
@@ -171,7 +171,7 @@ jobs:
171171
- name: Set up Bun
172172
uses: oven-sh/setup-bun@v2
173173
- name: Set up Go
174-
uses: actions/setup-go@v5
174+
uses: actions/setup-go@v6
175175
with:
176176
go-version: "stable"
177177
cache-dependency-path: "guest_server/go.sum"
@@ -185,7 +185,7 @@ jobs:
185185
- name: Zip unpacked variant
186186
run: cd dist && zip -r winboat-linux-unpacked.zip linux-unpacked/
187187
- name: Create GitHub Release
188-
uses: softprops/action-gh-release@v1
188+
uses: softprops/action-gh-release@v3
189189
with:
190190
files: |
191191
dist/*.AppImage

0 commit comments

Comments
 (0)