Skip to content

Commit 6db8aa6

Browse files
committed
Update builder actions for node deprecation
1 parent 87a0060 commit 6db8aa6

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- arch: x64
4343
platform: x64
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646
with:
4747
fetch-depth: 0
4848

@@ -53,10 +53,12 @@ jobs:
5353
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.config }} --parallel
5454

5555
- name: Upload artifacts
56-
uses: actions/upload-artifact@v4
56+
uses: actions/upload-artifact@v7
5757
with:
5858
name: etf-artifacts-win-${{ matrix.arch }}
5959
path: ${{ github.workspace }}/build/etf
60+
if-no-files-found: error
61+
retention-days: 5
6062

6163
Linux:
6264
name: Linux ${{ matrix.arch }}
@@ -74,7 +76,7 @@ jobs:
7476
sudo apt-get update
7577
sudo apt-get install gcc-multilib g++-multilib
7678
77-
- uses: actions/checkout@v4
79+
- uses: actions/checkout@v6
7880
with:
7981
fetch-depth: 0
8082

@@ -90,10 +92,12 @@ jobs:
9092
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.config }} --parallel
9193

9294
- name: Upload artifacts
93-
uses: actions/upload-artifact@v4
95+
uses: actions/upload-artifact@v7
9496
with:
9597
name: etf-artifacts-linux-${{ matrix.arch }}
9698
path: ${{ github.workspace }}/build/etf
99+
if-no-files-found: error
100+
retention-days: 5
97101

98102
macOS:
99103
name: macOS ${{ matrix.arch }}
@@ -107,7 +111,7 @@ jobs:
107111
- osx-target: "10.13"
108112

109113
steps:
110-
- uses: actions/checkout@v4
114+
- uses: actions/checkout@v6
111115
with:
112116
fetch-depth: 0
113117

@@ -118,17 +122,19 @@ jobs:
118122
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.config }} --parallel
119123

120124
- name: Upload artifacts
121-
uses: actions/upload-artifact@v4
125+
uses: actions/upload-artifact@v7
122126
with:
123127
name: etf-artifacts-macos-${{ matrix.arch }}
124128
path: ${{ github.workspace }}/build/etf
129+
if-no-files-found: error
130+
retention-days: 5
125131

126132
macOS-universal:
127133
name: macOS Universal Binaries
128134
runs-on: macos-14
129135
needs: [macOS]
130136
steps:
131-
- uses: actions/download-artifact@v4
137+
- uses: actions/download-artifact@v8
132138
with:
133139
pattern: etf-artifacts-macos-*
134140
path: artifacts
@@ -148,7 +154,7 @@ jobs:
148154
-output build-universal/qagame_mac
149155
150156
- name: Upload artifacts
151-
uses: actions/upload-artifact@v4
157+
uses: actions/upload-artifact@v7
152158
with:
153159
name: etf-artifacts-macos-universal
154160
path: ${{ github.workspace }}/build-universal
@@ -166,12 +172,12 @@ jobs:
166172
needs: [Windows-MSVC, Linux, macOS-universal]
167173
runs-on: ubuntu-22.04
168174
steps:
169-
- uses: actions/checkout@v4
175+
- uses: actions/checkout@v6
170176
with:
171177
fetch-depth: 0
172178

173179
- name: Download artifacts
174-
uses: actions/download-artifact@v4
180+
uses: actions/download-artifact@v8
175181
with:
176182
pattern: etf-artifacts-*
177183
merge-multiple: true
@@ -184,7 +190,7 @@ jobs:
184190
make mod_release
185191
186192
- name: Upload release
187-
uses: actions/upload-artifact@v4
193+
uses: actions/upload-artifact@v7
188194
with:
189195
name: etf-snapshot-release
190196
path: ${{ github.workspace }}/build/*.zip

0 commit comments

Comments
 (0)