Prepare universal workflow

This commit is contained in:
Alexey Pustovalov 2024-02-10 22:30:06 +09:00
parent f59003917a
commit 5cd107cc4b

View File

@ -66,11 +66,13 @@ jobs:
- name: Test
shell: bash
env:
GIT_REF: ${{ env.TRUNK_ONLY_EVENT && env.TRUNK_GIT_BRANCH || '' }}
GIT_REF_TEST: ${{ env.TRUNK_ONLY_EVENT == true && env.TRUNK_GIT_BRANCH || '' }}
GIT_REF_TEST2: ${{ env.TRUNK_ONLY_EVENT == 'true' && env.TRUNK_GIT_BRANCH || '' }}
run: |
echo $GIT_REF
echo $GIT_REF_TEST
echo $GIT_REF_TEST2
echo "${{ env.TRUNK_ONLY_EVENT }}"
echo "$${{ env.TRUNK_GIT_BRANCH }}"
echo "${{ env.TRUNK_GIT_BRANCH }}"
- name: Checkout repository
uses: actions/checkout@v4