Skip to content

Commit 0f8df64

Browse files
committed
use language input
1 parent 7947d2c commit 0f8df64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/integration-per-language.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- run: chmod +x ./draft
1818
- run: mkdir ./langtest
1919
- run: |
20-
echo "repo=$(cat ./test/integration_config.json | jq -r '.[] | select(.language == "go") | .repo')" >> "$GITHUB_ENV"
20+
echo "repo=$(cat ./test/integration_config.json | jq -r '.[] | select(.language == ${{ inputs.language }}) | .repo')" >> "$GITHUB_ENV"
2121
- uses: actions/checkout@v3
2222
with:
2323
repository: ${{ env.repo }}
@@ -74,7 +74,7 @@ jobs:
7474
- run: chmod +x ./draft
7575
- run: mkdir ./langtest
7676
- run: |
77-
echo "repo=$(cat ./test/integration_config.json | jq -r '.[] | select(.language == "go") | .repo')" >> "$GITHUB_ENV"
77+
echo "repo=$(cat ./test/integration_config.json | jq -r '.[] | select(.language == ${{ inputs.language }}) | .repo')" >> "$GITHUB_ENV"
7878
- uses: actions/checkout@v3
7979
with:
8080
repository: ${{ env.repo }}

0 commit comments

Comments
 (0)