From 658b4c26adae7f329e8a22de42fbe52c60ca5e71 Mon Sep 17 00:00:00 2001 From: nullishamy Date: Sat, 25 May 2024 14:42:31 +0100 Subject: [PATCH] ci: organise logs --- .github/workflows/build.yml | 12 +++++++----- .github/workflows/release.yml | 10 ++++++---- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22a79c07..30f3266b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,14 +29,16 @@ jobs: run: | python patches/xfwm4/generate_assets.py - python ./build.py mocha --all-accents --zip -d $PWD/releases & - python ./build.py macchiato --all-accents --zip -d $PWD/releases & - python ./build.py frappe --all-accents --zip -d $PWD/releases & - python ./build.py latte --all-accents --zip -d $PWD/releases & + python ./build.py mocha --all-accents --zip -d $PWD/releases > mocha.log & + python ./build.py macchiato --all-accents --zip -d $PWD/releases > macchiato.log & + python ./build.py frappe --all-accents --zip -d $PWD/releases > frappe.log & + python ./build.py latte --all-accents --zip -d $PWD/releases > latte.log & wait + cat *.log + - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: '${{ github.sha }}-artifacts' - path: ./releases/*.zip + path: ./releases/*.zip \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f5879b3..229c13e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,14 @@ jobs: run: | python patches/xfwm4/generate_assets.py - python ./build.py mocha --all-accents --zip -d $PWD/releases & - python ./build.py macchiato --all-accents --zip -d $PWD/releases & - python ./build.py frappe --all-accents --zip -d $PWD/releases & - python ./build.py latte --all-accents --zip -d $PWD/releases & + python ./build.py mocha --all-accents --zip -d $PWD/releases > mocha.log & + python ./build.py macchiato --all-accents --zip -d $PWD/releases > macchiato.log & + python ./build.py frappe --all-accents --zip -d $PWD/releases > frappe.log & + python ./build.py latte --all-accents --zip -d $PWD/releases > latte.log & wait + cat *.log + - name: Add zips to release uses: softprops/action-gh-release@v2 with: