name: Continuous Integration on: push: branches: - main jobs: build: runs-on: linux steps: - name: Git checkout uses: actions/checkout@v6 with: fetch-depth: 0 fetch-tags: true - name: Build tarball run: make tarball - name: Build rpm package run: rpmbuild -ba "$(make name).spec" - name: Upload rpm package run: make upload env: PACKAGES_USERNAME: ${{ vars.PACKAGES_USERNAME }} PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }}