fix if statement

This commit is contained in:
Antoine Martin 2024-09-09 19:13:17 -04:00
parent 2d47ef472a
commit 030bdf459d
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -69,8 +69,6 @@ jobs:
needs: [cabal-config-edge,cabal-config-v320] needs: [cabal-config-edge,cabal-config-v320]
container: container:
image: alpine:latest image: alpine:latest
env:
CI_REF_NAME: ${{ inputs.ref_name }}${{ github.ref_name}}
steps: steps:
- name: Environment setup - name: Environment setup
run: apk add nodejs curl findutils run: apk add nodejs curl findutils
@ -78,7 +76,7 @@ jobs:
uses: forgejo/download-artifact@v3 uses: forgejo/download-artifact@v3
- name: Package deployment - name: Package deployment
run: | run: |
if test GITHUB_REF_NAME == "ci" ; then if test GITHUB_REF_NAME = "ci" ; then
CI_REF_NAME=${{ inputs.ref_name }} CI_REF_NAME=${{ inputs.ref_name }}
else else
CI_REF_NAME=$GITHUB_REF_NAME CI_REF_NAME=$GITHUB_REF_NAME