Skip to content

Commit

Permalink
feat: Upload build logs with RPMs
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Jul 25, 2023
1 parent 6194f04 commit 90eab8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ jobs:

- name: "Check Build Artifacts"
run: |
stat --printf='' _output/$PACKAGE*.rpm
ls -la _output/
find _output/ -name '*.rpm'
- name: "Upload Build Artifacts"
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.package }}
path: _output/*.rpm
path: _output/*

upload-artifact:
needs: ["build"]
Expand Down
3 changes: 1 addition & 2 deletions build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ if [ "$PACKAGE" == "kernel" ]; then
fi

cd /repo/$PACKAGE
build_package $PACKAGE.spec
rm /repo/_output/*.log
build_package $PACKAGE.spec

0 comments on commit 90eab8e

Please sign in to comment.