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
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:
@@ -7,23 +7,28 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: ${{ matrix.name }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rid: [win-x64, linux-x64, linux-arm64, osx-x64, osx-arm64]
|
|
||||||
include:
|
include:
|
||||||
- rid: win-x64
|
- rid: win-x64
|
||||||
|
name: Windows x64
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
suffix: .exe
|
suffix: .exe
|
||||||
- rid: linux-x64
|
- rid: linux-x64
|
||||||
|
name: Linux x64
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
suffix: ''
|
suffix: ''
|
||||||
- rid: linux-arm64
|
- rid: linux-arm64
|
||||||
|
name: Linux ARM64
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
suffix: ''
|
suffix: ''
|
||||||
- rid: osx-x64
|
- rid: osx-x64
|
||||||
|
name: macOS x64
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
suffix: ''
|
suffix: ''
|
||||||
- rid: osx-arm64
|
- rid: osx-arm64
|
||||||
|
name: macOS ARM64
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
suffix: ''
|
suffix: ''
|
||||||
|
|
||||||
@@ -68,18 +73,13 @@ jobs:
|
|||||||
- name: Create release
|
- name: Create release
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
# Build .deb from the linux-x64 binary
|
|
||||||
mkdir -p deb_root/DEBIAN deb_root/usr/bin
|
mkdir -p deb_root/DEBIAN deb_root/usr/bin
|
||||||
cp ADBulkTool-linux-x64/ADBulkTool deb_root/usr/bin/adbulktool
|
cp ADBulkTool-linux-x64/ADBulkTool deb_root/usr/bin/adbulktool
|
||||||
chmod 755 deb_root/usr/bin/adbulktool
|
chmod 755 deb_root/usr/bin/adbulktool
|
||||||
VERSION="${GITHUB_REF_NAME#v}"
|
VERSION="${GITHUB_REF_NAME#v}"
|
||||||
sed "s/Version: 1.0.0/Version: $VERSION/" packaging/debian/DEBIAN/control > deb_root/DEBIAN/control
|
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"
|
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/
|
cp packaging/arch/PKGBUILD packaging/arch/.INSTALL ADBulkTool-linux-x64/
|
||||||
|
|
||||||
# Upload all as release assets
|
|
||||||
for dir in ADBulkTool-*/; do
|
for dir in ADBulkTool-*/; do
|
||||||
for file in "$dir"*; do
|
for file in "$dir"*; do
|
||||||
if [ -f "$file" ]; then
|
if [ -f "$file" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user