From cc2ddf47eab4c1b7e3ffb0fc2bed1bb7def00cea Mon Sep 17 00:00:00 2001 From: mikisoq Date: Wed, 29 Jul 2026 03:34:52 -0100 Subject: [PATCH] Give jobs readable names (Windows x64, Linux x64, etc.) in Actions UI --- .gitea/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4229a0a..ec0a24c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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