From eafb0c486914da3e4c98057e8d5fde249320a302 Mon Sep 17 00:00:00 2001 From: Dominik Werder Date: Mon, 6 Jul 2026 13:16:48 +0200 Subject: [PATCH] Again --- .gitea/workflows/build-ubuntu.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build-ubuntu.yml b/.gitea/workflows/build-ubuntu.yml index 573d2f1..bbd5b4b 100644 --- a/.gitea/workflows/build-ubuntu.yml +++ b/.gitea/workflows/build-ubuntu.yml @@ -128,18 +128,21 @@ jobs: env: PSI_GITEA_PUB: ${{secrets.PSI_GITEA_PUB}} run: | - VER=$(artifacts/target/release/daqingest version) + D0=artifacts/target/release + FNAME=daqingest + VER=$($D0/$FNAME version) curl \ --fail \ --user "${{gitea.actor}}:$PSI_GITEA_PUB" \ - --upload-file artifacts/target/release/daqingest \ - "https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/daqingest/$VER/daqingest" - VER=$(artifacts/target/release/daqretrieve version) + --upload-file $D0/$FNAME \ + "https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME" + FNAME=daqretrieve + VER=$($D0/$FNAME version) curl \ --fail \ --user "${{gitea.actor}}:$PSI_GITEA_PUB" \ - --upload-file artifacts/target/release/daqingest \ - "https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/daqretrieve/$VER/daqretrieve" + --upload-file $D0/$FNAME \ + "https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME" - name: Publish package if: false uses: actions/upload-artifact@v3