Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Jan 2, 2025
1 parent 279dc89 commit d30be82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/tpl/test.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@ jobs:
run: |
if [ -z "${{ matrix.release }}" ]; then
#ok, go ahead
echo "release is empty"
elif [ -z "${{ matrix.arch }}" ]; then
#ok, go ahead
echo "arch is empty"
elif [ -e "conf/${{ matrix.release }}-${{ matrix.arch }}.conf" ]; then
#ok, go ahead
echo "conf exists: conf/${{ matrix.release }}-${{ matrix.arch }}.conf"
else
echo "The release ${{ matrix.release }} doesn't support ${{ matrix.arch }}, skip."
exit 0
Expand Down Expand Up @@ -201,10 +204,13 @@ jobs:
run: |
if [ -z "${{ matrix.release }}" ]; then
#ok, go ahead
echo "release is empty"
elif [ -z "${{ matrix.arch }}" ]; then
#ok, go ahead
echo "arch is empty"
elif [ -e "conf/${{ matrix.release }}-${{ matrix.arch }}.conf" ]; then
#ok, go ahead
echo "conf exists: conf/${{ matrix.release }}-${{ matrix.arch }}.conf"
else
echo "The release ${{ matrix.release }} doesn't support ${{ matrix.arch }}, skip."
exit 0
Expand Down

0 comments on commit d30be82

Please sign in to comment.