Skip to content

Commit

Permalink
more testing more debugging. this process is awful
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Schoeller committed Oct 19, 2024
1 parent d732cf2 commit c32f7c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,24 @@ jobs:
- name: Fetch PNP4Nagios RPM
run: curl -L -o pnp4nagios-0.6.27-5.alma.el8.x86_64.rpm https://github.com/pnp4nagios/pnp4nagios/releases/download/v0.6.27-5/pnp4nagios-0.6.27-5.alma.el8.x86_64.rpm

- name: debugging
run: |
if [ ! -f pnp4nagios-0.6.27-5.alma.el8.x86_64.rpm ]; then
echo "Failed to download the PNP4Nagios RPM"
exit 1
else
echo "PNP4Nagios RPM fetched successfully"
fi

- name: List files in the current directory
run: ls -la

- name: Upload PNP4Nagios RPM as artifact
uses: actions/upload-artifact@v4
with:
name: PNP4Nagios RPMs
path: ./pnp4nagios-0.6.27-5.alma.el8.x86_64.rpm
if-no-files-found: error # This ensures it fails if the file isn't found

publish-rpms:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit c32f7c2

Please sign in to comment.