Skip to content

Commit

Permalink
improve artifact upload and logs in step summary
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed Sep 15, 2024
1 parent e1c5a0f commit eaf95a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit eaf95a3

Please sign in to comment.