Skip to content

Commit f21e921

Browse files
committed
use upload-artifact@v4
1 parent 1e141a4 commit f21e921

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
VERSION: ${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
7373

7474
- name: Upload deb artifact file to workflow run results
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
if: runner.os == 'Linux'
7777
with:
7878
name: OpenOTP-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}.deb
@@ -90,7 +90,7 @@ jobs:
9090
asset_content_type: application/x-deb
9191

9292
- name: Upload msi installer file to workflow run results
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
if: runner.os == 'Windows'
9595
with:
9696
name: OpenOTP-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}.msi
@@ -108,7 +108,7 @@ jobs:
108108
asset_content_type: application/x-ms-dos-executable
109109

110110
- name: Upload dmg image file to workflow run results
111-
uses: actions/upload-artifact@v3
111+
uses: actions/upload-artifact@v4
112112
if: runner.os == 'macOS'
113113
with:
114114
name: OpenOTP-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}.dmg
@@ -170,19 +170,19 @@ jobs:
170170
VERSION: ${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}
171171

172172
- name: Upload debug artifact file to workflow run results
173-
uses: actions/upload-artifact@v3
173+
uses: actions/upload-artifact@v4
174174
with:
175175
name: OpenOTP-Debug-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}.apk
176176
path: androidApp/build/outputs/apk/debug/androidApp-debug.apk
177177

178178
- name: Upload release artifact file to workflow run results
179-
uses: actions/upload-artifact@v3
179+
uses: actions/upload-artifact@v4
180180
with:
181181
name: OpenOTP-Release-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}.apk
182182
path: androidApp/build/outputs/apk/release/androidApp-release.apk
183183

184184
- name: Upload release bundle file to workflow run results
185-
uses: actions/upload-artifact@v3
185+
uses: actions/upload-artifact@v4
186186
with:
187187
name: OpenOTP-Release-${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}.aab
188188
path: androidApp/build/outputs/bundle/release/androidApp-release.aab

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ jobs:
3939
VERSION: 1.0.0
4040

4141
- name: Upload deb artifact file to workflow run results
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
if: runner.os == 'Linux'
4444
with:
4545
name: OpenOTP.deb
4646
path: desktopApp/build/compose/binaries/main-release/deb/openotp_1.0.0-1_amd64.deb
4747

4848
- name: Upload msi installer file to workflow run results
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
if: runner.os == 'Windows'
5151
with:
5252
name: OpenOTP.msi
5353
path: desktopApp/build/compose/binaries/main-release/msi/OpenOTP-1.0.0.msi
5454

5555
- name: Upload dmg image file to workflow run results
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v4
5757
if: runner.os == 'macOS'
5858
with:
5959
name: OpenOTP.dmg
@@ -100,19 +100,19 @@ jobs:
100100
SIGNING_STORE_FILE: ${{ steps.decode_keystore.outputs.filePath }}
101101

102102
- name: Upload debug artifact file to workflow run results
103-
uses: actions/upload-artifact@v3
103+
uses: actions/upload-artifact@v4
104104
with:
105105
name: OpenOTP-Debug.apk
106106
path: androidApp/build/outputs/apk/debug/androidApp-debug.apk
107107

108108
- name: Upload release artifact file to workflow run results
109-
uses: actions/upload-artifact@v3
109+
uses: actions/upload-artifact@v4
110110
with:
111111
name: OpenOTP-Release.apk
112112
path: androidApp/build/outputs/apk/release/androidApp-release.apk
113113

114114
- name: Upload release bundle file to workflow run results
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4
116116
with:
117117
name: OpenOTP-Release.aab
118118
path: androidApp/build/outputs/bundle/release/androidApp-release.aab

0 commit comments

Comments
 (0)