Skip to content

Commit 3b4feb8

Browse files
committed
chore: upgrade GitHub Actions to version 4 for improved functionality
1 parent c2907c8 commit 3b4feb8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737

3838
steps:
39-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v4
4040
- name: Linux deps
4141
if: contains(matrix.runner, 'ubuntu')
4242
run: |
@@ -105,31 +105,31 @@ jobs:
105105

106106
- name: Upload Windows artifacts (archive)
107107
if: contains(matrix.runner, 'windows')
108-
uses: actions/upload-artifact@v3
108+
uses: actions/upload-artifact@v4
109109
with:
110110
name: ${{ matrix.target }}
111111
path: ./build/windows/x64/runner/Release/*
112112
if-no-files-found: error
113113

114114
- name: Upload Windows installer (MSIX)
115115
if: contains(matrix.runner, 'windows')
116-
uses: actions/upload-artifact@v3
116+
uses: actions/upload-artifact@v4
117117
with:
118118
name: ${{ matrix.target }}-msix
119119
path: ./build/windows/x64/runner/Release/desktop_adb_file_browser.msix
120120
if-no-files-found: error
121121

122122
# - name: Upload Windows MSIX installer
123123
# if: contains(matrix.runner, 'windows')
124-
# uses: actions/upload-artifact@v3
124+
# uses: actions/upload-artifact@v4
125125
# with:
126126
# name: ${{ matrix.target }} msix installer
127127
# path: |
128128
# ./build/windows/runner/Release/*.msix
129129
# if-no-files-found: error
130130
- name: Upload Windows Inno installer
131131
if: contains(matrix.runner, 'windows')
132-
uses: actions/upload-artifact@v3
132+
uses: actions/upload-artifact@v4
133133
with:
134134
name: ${{ matrix.target }} Inno installer
135135
path: |
@@ -139,15 +139,15 @@ jobs:
139139
# Linux
140140
- name: Upload Linux artifacts (archive)
141141
if: contains(matrix.runner, 'ubuntu')
142-
uses: actions/upload-artifact@v3
142+
uses: actions/upload-artifact@v4
143143
with:
144144
name: ${{ matrix.target }}
145145
path: ./build/linux/**/release/bundle/*
146146
if-no-files-found: error
147147

148148
# - name: Upload Linux snap artifacts
149149
# if: contains(matrix.runner, 'ubuntu')
150-
# uses: actions/upload-artifact@v3
150+
# uses: actions/upload-artifact@v4
151151
# with:
152152
# name: ${{ matrix.target }}
153153
# path: ./*.snap
@@ -156,7 +156,7 @@ jobs:
156156
# MacOS
157157
- name: Upload MacOS artifacts (archive)
158158
if: contains(matrix.runner, 'mac')
159-
uses: actions/upload-artifact@v3
159+
uses: actions/upload-artifact@v4
160160
with:
161161
name: ${{ matrix.target }}
162162
path: ./build/macos/Build/Products/Release/result.zip
@@ -169,7 +169,7 @@ jobs:
169169
runs-on: ubuntu-latest
170170
steps:
171171
- name: Download all artifacts
172-
uses: actions/download-artifact@v3
172+
uses: actions/download-artifact@v4
173173
with:
174174
path: artifacts
175175

0 commit comments

Comments
 (0)