Skip to content

Commit

Permalink
Draft release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Styk <[email protected]>
  • Loading branch information
StykMartin committed Jan 17, 2024
1 parent 88f7225 commit da56862
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yaml
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 || :

0 comments on commit da56862

Please sign in to comment.