From bc95be30e9dda0d27555f1e4b2a348a2af839fab Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Tue, 30 Sep 2025 14:13:08 +0200 Subject: [PATCH] Gitea: Try create release again --- .gitea/workflows/build_and_test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml index 744d1705..218b300a 100644 --- a/.gitea/workflows/build_and_test.yml +++ b/.gitea/workflows/build_and_test.yml @@ -12,6 +12,7 @@ on: jobs: build-rpm: name: build:rpm (${{ matrix.distro }}) + if: github.ref_type == 'tag' runs-on: ${{ matrix.runner }} strategy: fail-fast: false @@ -144,12 +145,15 @@ jobs: # if: github.ref_type == 'tag' steps: - uses: actions/checkout@v4 + with: + lfs: true + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} - name: Create release env: GITEA_TOKEN: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} shell: bash run: | - git lfs pull python3 gitea_create_release.py documentation: name: Build documentation @@ -180,6 +184,7 @@ jobs: unit-tests: name: Unit tests runs-on: jfjoch_rocky8 + if: github.ref_type == 'tag' container: image: gitea.psi.ch/leonarski_f/jfjoch_rocky8:2509 options: --gpus all