From eaf95a3d4672475cba456f3875fa0dbcdea40847 Mon Sep 17 00:00:00 2001 From: Florian Hopfner Date: Sun, 15 Sep 2024 14:12:00 +0200 Subject: [PATCH] improve artifact upload and logs in step summary --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab6de96..996265d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -124,11 +124,11 @@ jobs: uses: actions/upload-artifact@v4 with: name: ${{ env.PACKAGE_NAME }} - path: ${{ env.ARTIFACTS_PATH }} + path: ${{ env.ARTIFACTS_PATH }}/*.zip - name: Add logs to job summary run: | - $logFiles = Get-ChildItem -Path "C:\Temp\_bld" -Recurse -Filter *.log + $logFiles = Get-ChildItem -Path "${{ env.ARTIFACTS_PATH }}\Logs" -Recurse -Filter *.log $summary = "# Logs `n`n" if ($logFiles) { foreach ($logFile in $logFiles) {