Automatic commit of package [nodejs-less] release [1.7.0-6]. #3
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: Publish RPM | |
on: | |
push: | |
tags: | |
- 'nodejs-less-*' | |
jobs: | |
build-rpm: | |
runs-on: ubuntu-latest | |
environment: production | |
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 |