Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomper-TE authored Jul 5, 2024
1 parent 803d6eb commit cb1da4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
set-package-matrix:
# This action returns all sub-packages to be published, except the `thousandeyes-sdk-core`.
# This action returns all sub-packages to be published.
# It thens exports the variable to matrix, so that the deployment job is run individually for each sub-package
runs-on: ubuntu-latest
outputs:
Expand All @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- id: packages
run: |
FOLDERS_JSON=$(find . -maxdepth 1 -type d -name "thousandeyes-sdk-*" ! -name "thousandeyes-sdk-core"| cut -c 3- | jq -R -s -c 'split("\n")[:-1]')
FOLDERS_JSON=$(find . -maxdepth 1 -type d -name "thousandeyes-sdk-*" | cut -c 3- | jq -R -s -c 'split("\n")[:-1]')
echo "packages=$FOLDERS_JSON" >> "$GITHUB_OUTPUT"
deployment:
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit cb1da4e

Please sign in to comment.