From 0c8414f0d058778bb1e1bbf3c54bcfc77263f4d0 Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 29 Dec 2023 03:18:40 +0100 Subject: [PATCH] Fix workflow if --- .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 306fe9f..1a9386d 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 }} \