Skip to content

Commit

Permalink
Continuing work for 0.1.5 Release with PNP4Nagios
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Schoeller committed Oct 19, 2024
1 parent 0fe3b9e commit f3c2de3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ jobs:
- uses: actions/checkout@v4

- 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
run: curl -L -o x86_64/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
if [ ! -f x86_64/pnp4nagios-0.6.27-5.alma.el8.x86_64.rpm ]; then
echo "Failed to download the PNP4Nagios RPM"
exit 1
else
Expand All @@ -193,7 +193,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: PNP4Nagios RPMs
path: ./pnp4nagios-0.6.27-5.alma.el8.x86_64.rpm
path: ./x86_64/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:
Expand Down

0 comments on commit f3c2de3

Please sign in to comment.