Use UTF-8 locales for language settings #787
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
| on: | |
| push: | |
| pull_request: | |
| name: Build RPM snapshot package | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: ghcr.io/terrapkg/builder:f42 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install dependencies | |
| run: dnf builddep -y ci/readymade.spec && dnf in -y rpmdevtools | |
| - name: run rpmbuild | |
| run: | | |
| git_sha=${{ github.sha }} | |
| git_short=${git_sha:0:7} | |
| rpmdev-setuptree | |
| rpmbuild -ba ci/readymade.spec --define "gitcommit $git_sha" --define "shortcommit $git_short" --define "_rpmdir $PWD/build" --define "_disable_source_fetch 0" | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: build/**/*.rpm |