-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Martin Styk <[email protected]>
- Loading branch information
1 parent
88f7225
commit da56862
Showing
1 changed file
with
30 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Publish RPM | ||
|
||
#on: | ||
# push: | ||
# tags: | ||
# - 'nodejs-less-*' | ||
on: [push] | ||
|
||
jobs: | ||
build-rpm: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: centos:7 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install release toolbox | ||
run: | | ||
yum install git ca-certificates epel-release -y | ||
yum install tito copr-cli -y | ||
- name: Setup Copr config file | ||
env: | ||
# https://copr.fedorainfracloud.org/api/. | ||
COPR_CONFIG_FILE: ${{ secrets.COPR_CONFIG }} | ||
run: | | ||
mkdir -p ~/.config | ||
printf "$COPR_CONFIG_FILE" > ~/.config/copr | ||
- name: Build new packages | ||
run: | | ||
tito release copr || : |