Skip to content

add workflow_dispatch #24

add workflow_dispatch

add workflow_dispatch #24

Workflow file for this run

name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Building a package
run: |
curl -LO https://raw.githubusercontent.com/clearfraction/tools/master/build-core.sh && chmod +x build-core.sh
docker run --privileged --cap-add=SYS_ADMIN --security-opt apparmor:unconfined -v $(pwd):/home clearlinux:latest sh -c "cd /home && ./build-core.sh"
- name: Upload result
uses: actions/upload-artifact@v2
with:
path: RPMS/*.rpm