-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #2010
- Loading branch information
Showing
6 changed files
with
48 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Debian and RPM Package Builders | ||
name: Debian Packages | ||
permissions: read-all | ||
on: | ||
push: | ||
|
@@ -7,9 +7,9 @@ on: | |
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
test-debian-packages: | ||
test-packages: | ||
if: github.event.pull_request | ||
name: Test Debian Packages | ||
name: Test Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -28,9 +28,9 @@ jobs: | |
run: make debian-packages | ||
- name: List generated files | ||
run: ls -l *.deb | ||
publish-debian-packages: | ||
publish-packages: | ||
if: ${{ ! github.event.pull_request }} | ||
name: Publish Debian Packages | ||
name: Publish Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -53,31 +53,3 @@ jobs: | |
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 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: RPM Packages | ||
permissions: read-all | ||
on: | ||
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
test-package: | ||
if: github.event.pull_request | ||
name: Test Packages | ||
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-package: | ||
if: ${{ ! github.event.pull_request }} | ||
name: Publish Packages | ||
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI Workflow | ||
name: Tests | ||
permissions: read-all | ||
|
||
on: | ||
|
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
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