From 5c2abaa70d702008e859d53c1e99bc4e6c2bfedd Mon Sep 17 00:00:00 2001 From: froejdh_e Date: Thu, 3 Apr 2025 12:13:33 +0200 Subject: [PATCH] try get python --- .gitea/workflows/cmake_build.yml | 2 +- .gitea/workflows/rh9-native.yml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cmake_build.yml b/.gitea/workflows/cmake_build.yml index 12d7b3d..aa7a297 100644 --- a/.gitea/workflows/cmake_build.yml +++ b/.gitea/workflows/cmake_build.yml @@ -2,7 +2,7 @@ name: Build the package using cmake then documentation on: workflow_dispatch: - push: + permissions: diff --git a/.gitea/workflows/rh9-native.yml b/.gitea/workflows/rh9-native.yml index 3256669..d9e3aa0 100644 --- a/.gitea/workflows/rh9-native.yml +++ b/.gitea/workflows/rh9-native.yml @@ -14,11 +14,15 @@ jobs: image: gitea.psi.ch/images/rhel9-developer-gitea-actions steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.12 + cache: 'pip' - name: Install dependencies run: | dnf install -y cmake - + - name: Build library run: | mkdir build