diff --git a/.forgejo/workflows/generate-tarball.yml b/.forgejo/workflows/generate-tarball.yml index 339efdaa11..0d98abd451 100644 --- a/.forgejo/workflows/generate-tarball.yml +++ b/.forgejo/workflows/generate-tarball.yml @@ -76,7 +76,7 @@ jobs: uses: forgejo/download-artifact@v3 - name: Package deployment run: | - if test GITHUB_REF_NAME = "ci" ; then + if test $GITHUB_REF_NAME == "ci" ; then CI_REF_NAME=${{ inputs.ref_name }} else CI_REF_NAME=$GITHUB_REF_NAME