Skip to content

Commit

Permalink
Update test_trigger.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
asyatrhl authored Dec 14, 2023
1 parent c0c2a3d commit 3f5a667
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ jobs:
value: ${{ steps.check-repository-branch.outputs }}
steps:
- name: Check if the repository is a specific repository and branch
id: check-repository-branch
# id: check-repository-branch
# run: |
# IsSpecificRepository=${{ github.repository == 'asyatrhl/ai8x-training' }}
# IsDevelopBranch=${{ github.ref == 'refs/heads/main_test_fork' }}
# echo "IsSpecificRepository=${IsSpecificRepository}"
# echo "IsDevelopBranch=${IsDevelopBranch}"
# shell: bash
run: |
echo "::set-output name=IsSpecificRepository::${{ github.repository == 'asyatrhl/ai8x-training' }}"
echo "::set-output name=IsDevelopBranch::${{ github.ref == 'refs/heads/main_test_fork' }}"
- name: Show outputs (for debugging)
run: echo "${{ toJson(outputs) }}"
echo "IS_SPECIFIC_REPOSITORY=${{ github.repository == 'asyatrhl/ai8x-training' }}" >> $GITHUB_ENV
echo "IS_DEVELOP_BRANCH=${{ github.ref == 'refs/heads/main_test_fork' }}" >> $GITHUB_ENV
- name: Show environment variables (for debugging)
run: env



Expand Down

0 comments on commit 3f5a667

Please sign in to comment.