mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +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:
|
jobs:
|
||||||
set-package-matrix:
|
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
|
# It thens exports the variable to matrix, so that the deployment job is run individually for each sub-package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- id: packages
|
- id: packages
|
||||||
run: |
|
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"
|
echo "packages=$FOLDERS_JSON" >> "$GITHUB_OUTPUT"
|
||||||
deployment:
|
deployment:
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user