Skip to content

Commit

Permalink
Merge pull request #5192 from jkonecny12/master-fix-logs-collection-i…
Browse files Browse the repository at this point in the history
…n-gh-live-iso-build

Fix logs collection in GH live iso build
  • Loading branch information
jkonecny12 authored Sep 22, 2023
2 parents 98e1811 + 3600676 commit 2a0c987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ jobs:
mkdir -p images
make -f Makefile.am container-live-iso-build CI_TAG=$CONTAINER_TAG
mv result/iso/Fedora-Workstation.iso "images/${{ needs.pr-info.outputs.image_description }}-Fedora-Workstation.iso"
mv result/iso/logs images/
- name: Make artefacts created by sudo cleanable
if: always()
Expand All @@ -273,7 +274,7 @@ jobs:
with:
name: 'logs'
path: |
images/*.log
images/logs/*
- name: Upload image artifacts
uses: actions/upload-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-image.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ jobs:
mkdir -p images
make -f Makefile.am container-live-iso-build CI_TAG=$CONTAINER_TAG
mv result/iso/Fedora-Workstation.iso "images/${{ needs.pr-info.outputs.image_description }}-Fedora-Workstation.iso"
mv result/iso/logs images/

- name: Make artefacts created by sudo cleanable
if: always()
Expand All @@ -267,7 +268,7 @@ jobs:
with:
name: 'logs'
path: |
images/*.log
images/logs/*

- name: Upload image artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 2a0c987

Please sign in to comment.