From 4b035f4b8e64e2d3ffb5872d04569fe79eeca567 Mon Sep 17 00:00:00 2001 From: Dunemask Date: Sun, 25 Aug 2024 15:43:18 -0600 Subject: [PATCH] [CHORE] Adjust Actions --- action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 39cb028..0bf1ee1 100644 --- a/action.yml +++ b/action.yml @@ -73,6 +73,5 @@ runs: shell: bash run: | # Export environment variables - echo "OASIS_WORKSPACE=${{ inputs.oasis-workspace:-${{ gitea.workspace }}/oasis }}" - echo "OASIS_WORKSPACE=${{ inputs.oasis-workspace:-${{ gitea.workspace }}/oasis }}" >> $GITHUB_ENV + [ -z "${{ inputs.oasis-workspace }}" ] && echo OASIS_WORKSPACE=${{ forgejo.workspace }}/oasis >> $GITHUB_ENV || echo OASIS_WORKSPACE=${{ inputs.oasis-workspace }} >> $GITHUB_ENV