schema: add downtime_rule_uuid to issue #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: RPM Packages | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-rpm: | |
| name: Build RPM Package | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out Source Code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Build Tools | |
| run: sudo apt-get -y install binutils file rpm composer | |
| - name: Install Dependencies with Composer | |
| run: composer install --ignore-platform-req=php+ --no-dev | |
| - name: Build Package | |
| id: build-package | |
| run: | | |
| rpmbuild -bb packaging/rh.spec | |
| echo "rpm_file="$(find $HOME/rpmbuild/RPMS/ -type f -name '*.rpm') >> "$GITHUB_OUTPUT" | |
| echo "rpm_filename="$(find $HOME/rpmbuild/RPMS/ -type f -name '*.rpm' -exec basename {} \;) >> "$GITHUB_OUTPUT" | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4.0.0 | |
| with: | |
| name: ${{ steps.build-package.outputs.rpm_filename }} | |
| path: ${{ steps.build-package.outputs.rpm_file }} |