Skip to content

build

build #24

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: "build"
# Controls when the workflow will run
on:
# Build packages every day.
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: build
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions:
contents: write
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout to execute local action
uses: actions/checkout@v4
- name: Setup python3
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install python modules
run: |
pip3 install -r .github/requirements.txt
- name: Run copr build
run: |
python3 .github/run.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COPR_API_TOKEN_CONFIG: ${{ secrets.COPR_API_TOKEN_CONFIG }}
OWNER: ${{ secrets.OWNER }}