Skip to content

Automatic commit of package [freeipa-nextcloud] release [0.1.9-1]. #18

Automatic commit of package [freeipa-nextcloud] release [0.1.9-1].

Automatic commit of package [freeipa-nextcloud] release [0.1.9-1]. #18

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml: (Line: 16, Col: 21, Idx: 196) - (Line: 16, Col: 27, Idx: 202): While scanning a plain scalar, find unexpected ':'.
on:
push:
branches:
- '*'
tags-ignore:
- freeipa-nextcloud-*
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
container: [fedora:37, fedora:38, fedora:39, rockylinux:9, rockylinux:9.3]
runs-on: ubuntu-latest
container: ${{ matrix.container }}
steps:
- name: Install build tools
run: dnf install -y git tito
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Install build dependencies
run: dnf builddep -y $GITHUB_WORKSPACE/freeipa-nextcloud.spec
- name: Build rpm
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd $GITHUB_WORKSPACE
tito build --test --rpm -o .
- name: Test installation of built rpm
run: dnf install -y noarch/*.rpm
- uses: actions/upload-artifact@v3
with:
name: rpms
path: ${{ github.workspace }}/noarch/*.rpm