Bump rockylinux from 8 to 9 in /packaging/rpm #34
Workflow file for this run
This file contains 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: Debian and RPM Package Builders | |
permissions: read-all | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test-debian-packages: | |
if: github.event.pull_request | |
name: Test Debian Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
id: buildx | |
with: | |
install: true | |
- name: Available Docker Platforms | |
run: echo ${{ steps.buildx.outputs.platforms }} | |
- name: Build Debian Packages | |
run: make debian-packages | |
- name: List generated files | |
run: ls -l *.deb | |
publish-debian-packages: | |
if: ${{ ! github.event.pull_request }} | |
name: Publish Debian Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
id: buildx | |
with: | |
install: true | |
- name: Available Docker Platforms | |
run: echo ${{ steps.buildx.outputs.platforms }} | |
- name: Build Debian Packages | |
run: make debian-packages | |
- name: List generated files | |
run: ls -l *.deb | |
- name: Upload packages to repository | |
env: | |
FURY_TOKEN: ${{ secrets.FURY_TOKEN }} | |
run: for f in *.deb; do curl -F package=@$f https://[email protected]/miniflux/; done | |
test-rpm-package: | |
if: github.event.pull_request | |
name: Test RPM Package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build RPM Package | |
run: make rpm | |
- name: List generated files | |
run: ls -l *.rpm | |
publish-rpm-package: | |
if: ${{ ! github.event.pull_request }} | |
name: Publish RPM Package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build RPM Package | |
run: make rpm | |
- name: List generated files | |
run: ls -l *.rpm | |
- name: Upload package to repository | |
env: | |
FURY_TOKEN: ${{ secrets.FURY_TOKEN }} | |
run: for f in *.rpm; do curl -F package=@$f https://[email protected]/miniflux/; done |