Give jobs readable names (Windows x64, Linux x64, etc.) in Actions UI
Build AD Bulk Tool / Linux ARM64 (push) Failing after 3m22s
Build AD Bulk Tool / Linux x64 (push) Failing after 3m6s
Build AD Bulk Tool / Windows x64 (push) Failing after 3m25s
Build AD Bulk Tool / macOS x64 (push) Canceled after 0s
Build AD Bulk Tool / packaging (push) Canceled after 0s
Build AD Bulk Tool / macOS ARM64 (push) Canceled after 58s

This commit is contained in:
mikisoq
2026-07-29 03:34:52 -01:00
parent 2415f4d15c
commit cc2ddf47ea
+6 -6
View File
@@ -7,23 +7,28 @@ on:
jobs:
build:
name: ${{ matrix.name }}
strategy:
matrix:
rid: [win-x64, linux-x64, linux-arm64, osx-x64, osx-arm64]
include:
- rid: win-x64
name: Windows x64
os: ubuntu-latest
suffix: .exe
- rid: linux-x64
name: Linux x64
os: ubuntu-latest
suffix: ''
- rid: linux-arm64
name: Linux ARM64
os: ubuntu-latest
suffix: ''
- rid: osx-x64
name: macOS x64
os: ubuntu-latest
suffix: ''
- rid: osx-arm64
name: macOS ARM64
os: ubuntu-latest
suffix: ''
@@ -68,18 +73,13 @@ jobs:
- name: Create release
run: |
set -x
# Build .deb from the linux-x64 binary
mkdir -p deb_root/DEBIAN deb_root/usr/bin
cp ADBulkTool-linux-x64/ADBulkTool deb_root/usr/bin/adbulktool
chmod 755 deb_root/usr/bin/adbulktool
VERSION="${GITHUB_REF_NAME#v}"
sed "s/Version: 1.0.0/Version: $VERSION/" packaging/debian/DEBIAN/control > deb_root/DEBIAN/control
dpkg-deb --root-owner-group --build deb_root "ADBulkTool-linux-x64/adbulktool_${VERSION}_amd64.deb"
# Copy PKGBUILD for Arch
cp packaging/arch/PKGBUILD packaging/arch/.INSTALL ADBulkTool-linux-x64/
# Upload all as release assets
for dir in ADBulkTool-*/; do
for file in "$dir"*; do
if [ -f "$file" ]; then