-
-
Notifications
You must be signed in to change notification settings - Fork 44
680 lines (610 loc) · 22.1 KB
/
Copy pathci.yml
File metadata and controls
680 lines (610 loc) · 22.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
---
name: CI
permissions: {}
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
env:
FREEBSD_CLANG_VERSION: 19
LINUX_GCC_VERSION: 12
MACOSX_DEPLOYMENT_TARGET: '14.0'
jobs:
release-setup:
name: Release Setup
outputs:
publish_release: ${{ steps.release-setup.outputs.publish_release }}
release_body: ${{ steps.release-setup.outputs.release_body }}
release_commit: ${{ steps.release-setup.outputs.release_commit }}
release_generate_release_notes: ${{ steps.release-setup.outputs.release_generate_release_notes }}
release_tag: ${{ steps.release-setup.outputs.release_tag }}
release_version: ${{ steps.release-setup.outputs.release_version }}
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Release Setup
id: release-setup
uses: LizardByte/actions/actions/release_setup@d0ae7f82215a479fe2b74f4088c53ee6460513dd # v2026.728.214955
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build:
name: ${{ matrix.build }} - ${{ matrix.name }}
needs: release-setup
permissions:
contents: read
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
build:
- FFMPEG
# name: ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}
name: # each entry must have a matching block in the "include" section below
- Alpine-aarch64
- Alpine-x86_64
- Darwin-arm64
- Darwin-x86_64
- FreeBSD-amd64
- Linux-aarch64
- Linux-ppc64le
- Linux-x86_64
- Windows-AMD64
- Windows-ARM64
include:
- name: Alpine-aarch64
os: ubuntu-24.04-arm
arch: aarch64
build_ffmpeg_cuda_llvm: 'OFF'
generator: "Unix Makefiles"
shell: sh
container: alpine:3.22
- name: Alpine-x86_64
os: ubuntu-latest
arch: x86_64
build_ffmpeg_cuda_llvm: 'OFF'
generator: "Unix Makefiles"
shell: sh
container: alpine:3.22
- name: Darwin-arm64
os: macos-14
arch: aarch64
generator: "Unix Makefiles"
shell: bash
target: arm64-apple-macosx
- name: Darwin-x86_64
os: macos-15-intel
arch: x86_64
generator: "Unix Makefiles"
shell: bash
target: x86_64-apple-macosx
- name: FreeBSD-amd64
os: ubuntu-latest
arch: x86_64
bsd_release: "15.1"
generator: "Unix Makefiles"
shell: freebsd {0}
- name: Linux-aarch64
os: ubuntu-22.04
arch: aarch64
generator: "Unix Makefiles"
shell: bash
target: aarch64-linux-gnu
- name: Linux-ppc64le
os: ubuntu-22.04
arch: powerpc64le
generator: "Unix Makefiles"
shell: bash
target: powerpc64le-linux-gnu
- name: Linux-x86_64
os: ubuntu-22.04
arch: x86_64
generator: "Unix Makefiles"
shell: bash
- name: Windows-AMD64
os: windows-2022
arch: x86_64
generator: "MSYS Makefiles"
shell: msys2 {0}
msystem: ucrt64
toolchain: ucrt-x86_64
- name: Windows-ARM64
os: windows-11-arm
arch: aarch64
generator: "MSYS Makefiles"
shell: msys2 {0}
msystem: clangarm64
toolchain: clang-aarch64
defaults:
run:
shell: ${{ matrix.shell }}
steps:
- name: Fix arm64 Alpine container
if: runner.arch == 'ARM64' && startsWith(matrix.name, 'Alpine')
uses: laverdet/alpine-arm64@7f0f72ee2f71eb2324e5888e8b6e42b1b53e6160 # v1.0.0
# must be before checkout so that git is available in the container
- name: Setup Dependencies Alpine
if: startsWith(matrix.name, 'Alpine')
run: |
set -eux
apk add --no-cache \
autoconf \
automake \
bash \
build-base \
cmake \
git \
libdrm-dev \
libtool \
libx11-dev \
libxcb-dev \
libxext-dev \
libxfixes-dev \
libxrandr-dev \
linux-headers \
mesa-dev \
nasm \
numactl-dev \
pkgconf \
wayland-dev
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: recursive
- name: Prepare Dependencies Linux
id: cross_compile
if: runner.os == 'Linux' && !startsWith(matrix.shell, 'freebsd') && !startsWith(matrix.name, 'Alpine')
run: |
echo "::group::distro detection"
# detect dist name like bionic, focal, etc
dist_name=$(lsb_release -cs)
ubuntu_version=$(lsb_release -rs)
ubuntu_major_version=${ubuntu_version%%.*}
echo "detected dist name: $dist_name"
echo "detected ubuntu version: $ubuntu_version"
echo "detected ubuntu major version: $ubuntu_major_version"
echo "::endgroup::"
echo "::group::install aptitude"
sudo apt-get update # must run before changing sources file
sudo apt-get install -y \
aptitude
echo "::endgroup::"
if [[ $ubuntu_major_version -le 20 ]]; then
# activate mesa backport PPA to ensure ffmpeg builds with vaSyncBuffer()
# (via libva 2.9.0 or later)
sudo add-apt-repository ppa:kisak/turtle -y
fi
echo "::group::dependencies prep"
dependencies=(
"autoconf"
"automake"
"build-essential"
"cmake"
"git-core"
"libass-dev"
"libfreetype6-dev"
"libgnutls28-dev"
"libmp3lame-dev"
"libnuma-dev"
"libopus-dev"
"libsdl2-dev"
"libtool"
"libvorbis-dev"
"libxcb1-dev"
"libxcb-shm0-dev"
"libxcb-xfixes0-dev"
"make"
"meson"
"nasm"
"ninja-build"
"pkg-config"
"texinfo"
"wget"
"zlib1g-dev"
)
package_arch="amd64"
cross_compile=false
package_arch=$(dpkg --print-architecture)
if [[ ${{ matrix.arch }} == "aarch64" ]]; then
dependencies+=("crossbuild-essential-arm64")
dependencies+=("gcc-${LINUX_GCC_VERSION}-aarch64-linux-gnu")
dependencies+=("g++-${LINUX_GCC_VERSION}-aarch64-linux-gnu")
cross_compile=true
package_arch="arm64"
elif [[ ${{ matrix.arch }} == "powerpc64le" ]]; then
dependencies+=("crossbuild-essential-ppc64el")
dependencies+=("gcc-${LINUX_GCC_VERSION}-powerpc64le-linux-gnu")
dependencies+=("g++-${LINUX_GCC_VERSION}-powerpc64le-linux-gnu")
cross_compile=true
package_arch="ppc64el"
else
dependencies+=("gcc-${LINUX_GCC_VERSION}")
dependencies+=("g++-${LINUX_GCC_VERSION}")
fi
echo "cross compiling: $cross_compile"
echo "package architecture: $package_arch"
dependencies+=(
"libdrm-dev:$package_arch"
"libgl-dev:$package_arch"
"libglx-dev:$package_arch"
"libwayland-dev:$package_arch"
"libwayland-client0:$package_arch"
"libx11-dev:$package_arch"
"libx11-xcb-dev:$package_arch"
"libxcb1-dev:$package_arch"
"libxcb-dri3-dev:$package_arch"
"libxcb-xfixes0-dev:$package_arch"
"libxext-dev:$package_arch"
"libxfixes-dev:$package_arch"
)
echo "::group::apt sources"
mirror="https://ports.ubuntu.com/ubuntu-ports"
# source file changed in 24.04
if [[ $ubuntu_major_version -ge 24 ]]; then
source_file="/etc/apt/sources.list.d/ubuntu.sources"
extra_sources=$(cat <<- VAREOF
Types: deb
URIs: mirror+file:/etc/apt/apt-mirrors.txt
Suites: ${dist_name} ${dist_name}-updates ${dist_name}-backports ${dist_name}-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Architectures: $(dpkg --print-architecture)
Types: deb
URIs: ${mirror}
Suites: ${dist_name} ${dist_name}-updates ${dist_name}-backports ${dist_name}-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Architectures: ${package_arch}
VAREOF
)
else
source_file="/etc/apt/sources.list"
extra_sources=$(cat <<- VAREOF
deb [arch=${package_arch}] ${mirror} ${dist_name} main restricted
deb [arch=${package_arch}] ${mirror} ${dist_name}-updates main restricted
deb [arch=${package_arch}] ${mirror} ${dist_name} universe
deb [arch=${package_arch}] ${mirror} ${dist_name}-updates universe
deb [arch=${package_arch}] ${mirror} ${dist_name} multiverse
deb [arch=${package_arch}] ${mirror} ${dist_name}-updates multiverse
deb [arch=${package_arch}] ${mirror} ${dist_name}-backports main restricted universe multiverse
deb [arch=${package_arch}] ${mirror} ${dist_name}-security main restricted
deb [arch=${package_arch}] ${mirror} ${dist_name}-security universe
deb [arch=${package_arch}] ${mirror} ${dist_name}-security multiverse
VAREOF
)
fi
if [[ ${cross_compile} == true ]]; then
# print original sources
echo "original sources:"
sudo cat ${source_file}
echo "----"
sudo dpkg --add-architecture ${package_arch}
if [[ $ubuntu_major_version -ge 24 ]]; then
echo "$extra_sources" | sudo tee ${source_file} > /dev/null
else
# fix original sources
sudo sed -i -e "s#deb mirror#deb [arch=amd64] mirror#g" ${source_file}
echo "$extra_sources" | sudo tee -a ${source_file} > /dev/null
fi
echo "----"
echo "new sources:"
sudo cat ${source_file}
echo "----"
fi
echo "::endgroup::"
echo "::group::output"
echo "CROSS_COMPILE=${cross_compile}"
echo "CROSS_COMPILE=${cross_compile}" >> "${GITHUB_OUTPUT}"
echo "DEPENDENCIES=${dependencies[@]}"
echo "DEPENDENCIES=${dependencies[@]}" >> "${GITHUB_OUTPUT}"
echo "PKG_CONFIG_SYSROOT_DIR=${pkg_config_sysroot_dir}"
echo "PKG_CONFIG_SYSROOT_DIR=${pkg_config_sysroot_dir}" >> "${GITHUB_ENV}"
echo "PKG_CONFIG_PATH=${pkg_config_sysroot_dir}/pkgconfig"
echo "PKG_CONFIG_PATH=${pkg_config_sysroot_dir}/pkgconfig" >> "${GITHUB_ENV}"
if [[ ${cross_compile} == false ]]; then
echo "CC=gcc-${LINUX_GCC_VERSION}"
echo "CC=gcc-${LINUX_GCC_VERSION}" >> "${GITHUB_ENV}"
echo "CXX=g++-${LINUX_GCC_VERSION}"
echo "CXX=g++-${LINUX_GCC_VERSION}" >> "${GITHUB_ENV}"
fi
echo "::endgroup::"
- name: Setup Dependencies Linux
if: runner.os == 'Linux' && !startsWith(matrix.shell, 'freebsd') && !startsWith(matrix.name, 'Alpine')
run: |
echo "::group::apt update"
sudo apt-get update
echo "::endgroup::"
echo "::group::install dependencies"
sudo aptitude install -y --without-recommends ${{ steps.cross_compile.outputs.DEPENDENCIES }}
echo "::endgroup::"
- name: Setup Dependencies MacOS
if: runner.os == 'macOS'
run: |
# git, libtool, ninja, pkg-config, and wget are all pre-installed in brew on GitHub runners
# they are excluded to avoid warnings in the GitHub step summary
dependencies=(
"automake"
"fdk-aac"
"lame"
"libass"
"libvorbis"
"libvpx"
"nasm"
"opus"
"sdl"
"shtool"
"texi2html"
"theora"
"xvid"
)
brew install ${dependencies[@]}
- name: Setup msys2 Windows
if: runner.os == 'Windows'
uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2.32.0
with:
msystem: ${{ matrix.msystem }}
update: true
- name: Update Windows dependencies
env:
# MSYSTEM is a built-in environment variable of MSYS2.
# Do not use this environment variable name.
MATRIX_MSYSTEM: ${{ matrix.msystem }}
TOOLCHAIN: ${{ matrix.toolchain }}
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
# variables
declare -A pinned_deps
# nothing to pin currently
dependencies=(
"diffutils"
"git"
"make"
"patch"
"pkg-config"
"mingw-w64-${TOOLCHAIN}-binutils"
"mingw-w64-${TOOLCHAIN}-cmake"
"mingw-w64-${TOOLCHAIN}-gcc"
"mingw-w64-${TOOLCHAIN}-make"
"mingw-w64-${TOOLCHAIN}-nasm"
"mingw-w64-${TOOLCHAIN}-ninja"
"mingw-w64-${TOOLCHAIN}-onevpl"
)
# do not modify below this line
ignore_packages=()
tarballs=""
for pkg in "${!pinned_deps[@]}"; do
ignore_packages+=("${pkg}")
version="${pinned_deps[$pkg]}"
tarball="${pkg}-${version}-any.pkg.tar.zst"
# download and install working version
wget "https://repo.msys2.org/mingw/${MATRIX_MSYSTEM}/${tarball}"
tarballs="${tarballs} ${tarball}"
done
# Create the ignore string for pacman
ignore_list=$(IFS=,; echo "${ignore_packages[*]}")
# install pinned dependencies
if [ -n "$tarballs" ]; then
pacman -U --noconfirm "${tarballs}"
fi
# Only add --ignore if we have packages to ignore
if [ -n "$ignore_list" ]; then
pacman -Syu --noconfirm --ignore="${ignore_list}" "${dependencies[@]}"
else
pacman -Syu --noconfirm "${dependencies[@]}"
fi
- name: Debug msys2.CMD
if: runner.os == 'Windows'
run: |
echo "MSYS2_ROOT=${{ runner.temp }}/msys64" >> "${GITHUB_ENV}"
cat "${{ runner.temp }}/setup-msys2/msys2.CMD"
- name: Get Processor Count
id: processor_count
shell: bash
run: |
if [ "${{ runner.os }}" = 'macOS' ]; then
PROCESSOR_COUNT=$(sysctl -n hw.ncpu)
else
PROCESSOR_COUNT=$(nproc)
fi
echo "PROCESSOR_COUNT=${PROCESSOR_COUNT}" >> "${GITHUB_OUTPUT}"
echo "PROCESSOR_COUNT: ${PROCESSOR_COUNT}"
- name: Setup ENV
id: root
shell: bash
run: |
set -e
cd "$GITHUB_WORKSPACE"
echo "ROOT_PATH=$PWD" >> "${GITHUB_ENV}"
MAKE_CMD="make"
if [ "${{ startsWith(matrix.shell, 'freebsd') }}" = true ]; then
# use gmake on FreeBSD instead of make
MAKE_CMD="gmake"
fi
echo "MAKE_CMD=${MAKE_CMD}" >> "${GITHUB_ENV}"
- name: Setup cross compilation
id: cross
if: matrix.target != ''
shell: bash
run: |
set -e
cd "$GITHUB_WORKSPACE"
TOOLCHAIN=${{ env.ROOT_PATH }}/cmake/toolchains/${{ matrix.target }}.cmake
# fail if file does not exist
if [ ! -f $TOOLCHAIN ]; then
echo "Toolchain file not found: $TOOLCHAIN"
exit 1
fi
echo "CMAKE_TOOLCHAIN_FILE=$TOOLCHAIN" >> "${GITHUB_ENV}"
if [[ ${{ runner.os }} == 'Linux' ]]; then
echo "CCPREFIX=/usr/bin/${{ matrix.target }}-" >> "${GITHUB_ENV}"
fi
- name: Setup FreeBSD
if: startsWith(matrix.shell, 'freebsd')
uses: vmactions/freebsd-vm@f0552d3b69211736abd97f02ff3d4674c56b73b1 # v1.5.5
with:
arch: ${{ matrix.arch }}
cpu: ${{ steps.processor_count.outputs.PROCESSOR_COUNT }}
prepare: |
pkg install -y \
devel/autoconf \
devel/automake \
devel/cmake \
devel/git \
devel/gmake \
devel/libtool \
devel/llvm${{ env.FREEBSD_CLANG_VERSION }} \
devel/meson \
devel/nasm \
devel/ninja \
devel/pkgconf \
graphics/libdrm \
graphics/libglvnd \
graphics/wayland \
multimedia/libass \
multimedia/libv4l \
multimedia/v4l_compat \
print/freetype2 \
security/gnutls \
shells/bash \
x11/libX11 \
x11/libxcb \
x11/libXext \
x11/libXfixes \
x11/libXrandr \
x11/xorgproto
# create symlink for shebang bash compatibility
ln -s /usr/local/bin/bash /bin/bash
release: ${{ matrix.bsd_release }}
run: |
git config --global --add safe.directory "*"
sync: rsync
copyback: false
- name: Configure
run: |
set -e
cd "$GITHUB_WORKSPACE"
build_ffmpeg_cuda_llvm="${{ matrix.build_ffmpeg_cuda_llvm || 'ON' }}"
if [ "${{ startsWith(matrix.shell, 'freebsd') }}" = true ]; then
export CC=$(which clang${{ env.FREEBSD_CLANG_VERSION }})
export CXX=$(which clang++${{ env.FREEBSD_CLANG_VERSION }})
# make sure they exist
if [ ! -f "$CC" ]; then
echo "Compiler not found: $CC"
exit 1
fi
if [ ! -f "$CXX" ]; then
echo "Compiler not found: $CXX"
exit 1
fi
fi
mkdir -p ./build/dist
cmake \
-B build \
-S . \
-G "${{ matrix.generator }}" \
-DBUILD_ALL=OFF \
-DBUILD_${{ matrix.build }}=ON \
-DBUILD_FFMPEG_CUDA_LLVM=${build_ffmpeg_cuda_llvm} \
-DCMAKE_TOOLCHAIN_FILE=${{ env.CMAKE_TOOLCHAIN_FILE }} \
-DCMAKE_INSTALL_PREFIX="${{ env.ROOT_PATH }}/build/dist" \
-DPARALLEL_BUILDS=${{ steps.processor_count.outputs.PROCESSOR_COUNT || 1 }}
- name: Build
run: |
set -e
cd "$GITHUB_WORKSPACE"
${{ env.MAKE_CMD }} -C build --jobs=${{ steps.processor_count.outputs.PROCESSOR_COUNT || 1 }}
- name: Install
run: |
set -e
cd "$GITHUB_WORKSPACE"
${{ env.MAKE_CMD }} -C build install
- name: Sync FreeBSD build output to host
if: startsWith(matrix.shell, 'freebsd')
shell: bash
run: rsync -av --mkpath -e ssh "freebsd:$GITHUB_WORKSPACE/build/dist" "$GITHUB_WORKSPACE/build"
- name: Debug logs
if: >-
always() &&
matrix.build == 'FFMPEG'
shell: bash
run: |
echo "::group::x264 config.log"
cat ./third-party/FFmpeg/x264/config.log || true
echo "::endgroup::"
echo "::group::FFmpeg config.log"
cat ./build/generated-src/FFmpeg/ffbuild/config.log || true
echo "::endgroup::"
- name: Debug build directory
if: always()
shell: bash
run: ls -R ./build
- name: Debug build/dist directory
if: always()
shell: bash
run: ls -R ./build/dist
- name: Create Archives
shell: bash
run: |
set -e
cd "$GITHUB_WORKSPACE/build/dist"
# Create archives based on what was built
if [ "${{ matrix.build }}" = "FFMPEG" ] || [ "${{ matrix.build }}" = "ALL" ]; then
if [ -d "ffmpeg" ]; then
tar -czf "../../${{ matrix.name }}-ffmpeg.tar.gz" ffmpeg
fi
fi
- name: Upload Artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
if-no-files-found: error
name: ${{ matrix.name }}-${{ matrix.build }}
path: ./${{ matrix.name }}-*.tar.gz
conclude:
needs: build
permissions: {}
runs-on: ubuntu-latest
steps:
- name: Conclude
run: echo "All tests passed"
release:
name: Create Release
if:
needs.release-setup.outputs.publish_release == 'true' &&
startsWith(github.repository, 'LizardByte/')
needs:
- release-setup
- build
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: artifacts
merge-multiple: true
- name: Debug artifacts
run: ls -R artifacts
- name: Create/Update GitHub Release
uses: LizardByte/actions/actions/release_create@d0ae7f82215a479fe2b74f4088c53ee6460513dd # v2026.728.214955
with:
allowUpdates: false
body: ${{ needs.release-setup.outputs.release_body }}
draft: true
generateReleaseNotes: ${{ needs.release-setup.outputs.release_generate_release_notes }}
name: ${{ needs.release-setup.outputs.release_tag }}
prerelease: true
tag: ${{ needs.release-setup.outputs.release_tag }}
token: ${{ secrets.GH_BOT_TOKEN }}
virustotal_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }}