File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,13 @@ jobs:
288
288
meson setup build -Dprefix=/ -Dmandir=/man -Dbindir=/ ${{ matrix.config.meson_opts }} --buildtype=release
289
289
meson install -C build
290
290
291
- # NOTE: Moved to before creating tar file due to how we set permissions to create the tar
291
+ # add `GOBIN` to the `PATH` otherwise nfpm in next step can't be found
292
+ - uses : actions/setup-go@v5
293
+ if : ${{ matrix.config.create_package }}
294
+ with :
295
+ go-version : ' stable'
296
+ cache : false
297
+
292
298
- name : Create packages
293
299
if : ${{ matrix.config.create_package }}
294
300
working-directory : ${{ format('build/{0}', env.DESTDIR) }}
@@ -324,13 +330,6 @@ jobs:
324
330
if : ${{ matrix.config.os != 'windows-latest' }}
325
331
run : sudo chown root:root build/"${DESTDIR}${ARCHIVE_EXT}"
326
332
327
- # add `GOBIN` to the `PATH` otherwise nfpm in next step can't be found
328
- - uses : actions/setup-go@v5
329
- if : ${{ matrix.config.create_package }}
330
- with :
331
- go-version : ' stable'
332
- cache : false
333
-
334
333
- name : Generate Hashes
335
334
if : ${{ matrix.config.publish_release }}
336
335
shell : bash
You can’t perform that action at this time.
0 commit comments