docs:simplify GitHub Actions.

pull/1513/head
Haotian Zhang 7 months ago
parent 4227a86df3
commit 6eda085cdd

@ -30,6 +30,7 @@ jobs:
id: set-matrix id: set-matrix
run: | run: |
shopt -s nocasematch shopt -s nocasematch
echo "${{ github.ref_name }}"
if [[ "${{ github.ref_name }}" == "2024" ]]; then if [[ "${{ github.ref_name }}" == "2024" ]]; then
echo "matrix=[17,21]" >> $GITHUB_OUTPUT echo "matrix=[17,21]" >> $GITHUB_OUTPUT
elif [[ "${{ github.ref_name }}" == "2023" ]]; then elif [[ "${{ github.ref_name }}" == "2023" ]]; then

Loading…
Cancel
Save