Skip to content

Commit

Permalink
ci(test): proper project name var substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel authored and jeff-held-aiven committed Dec 18, 2023
1 parent 64e1167 commit d65d10b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
- uses: actions/checkout@v4

- id: selproj
run: echo "project_name=$(make ci-selproj)" >> $GITHUB_OUTPUT
run: |
selproj_out=$(make ci-selproj | tail -n 1)
echo "project_name<<EOF" >> $GITHUB_OUTPUT
echo "$selproj_out" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
env:
AIVEN_TOKEN: ${{ secrets.AIVEN_TOKEN }}
AIVEN_PROJECT_NAME_PREFIX: ${{ secrets.AIVEN_PROJECT_NAME_PREFIX }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/examples-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
- uses: actions/checkout@v4

- id: selproj
run: echo "project_name=$(make ci-selproj)" >> $GITHUB_OUTPUT
run: |
selproj_out=$(make ci-selproj | tail -n 1)
echo "project_name<<EOF" >> $GITHUB_OUTPUT
echo "$selproj_out" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
env:
AIVEN_TOKEN: ${{ secrets.AIVEN_TOKEN }}
AIVEN_PROJECT_NAME_PREFIX: ${{ secrets.AIVEN_PROJECT_NAME_PREFIX }}
Expand Down

0 comments on commit d65d10b

Please sign in to comment.