From 9b47a6dbac8622d6ddcaf9cf7f87f6e00cb6b012 Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 29 Dec 2023 02:54:02 +0100 Subject: [PATCH] More syntax fix --- .forgejo/workflows/build+release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index bafc9b6..cf8b4a6 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -95,7 +95,7 @@ jobs: https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/chellaris-rust-api-linux-amd64 - name: Upload Debian Package to main - if: !search(github.ref_name, '-rc') + if: !search(${{ github.ref_name }}, '-rc') run: | source release_blobs/build.env echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \ @@ -106,7 +106,7 @@ jobs: https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/bookworm/main/upload - name: Upload Debian Package to staging - if: search(github.ref_name, '-rc') + if: search(${{ github.ref_name }}, '-rc') run: | source release_blobs/build.env echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \