mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 23:45:30 +00:00
Update release.yaml
This commit is contained in:
parent
803d6ebf3e
commit
cb1da4e186
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -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:
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user