Skip to content

Commit d96c9b4

Browse files
authored
chore: update SDK workflow references to use 'legacy' branch (#19)
1 parent 4c4d404 commit d96c9b4

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/generate-and-publish-sdk-sources.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,20 @@ on:
99
E.g., 1.0.0, 1.0.1, 1.0.0-SNAPSHOT, etc.
1010
required: true
1111
type: string
12+
sdk_repo_ref:
13+
description: |
14+
Branch or tag to checkout on the `expediagroup-java-sdk` repository.
15+
type: string
16+
default: 'legacy'
1217

1318
jobs:
1419
generate-and-publish-sources:
15-
uses: ExpediaGroup/expediagroup-java-sdk/.github/workflows/selfserve-full-workflow.yaml@v20250203
20+
uses: ExpediaGroup/expediagroup-java-sdk/.github/workflows/selfserve-full-workflow.yaml@legacy
1621
secrets: inherit
1722
with:
1823
name: fraudPreventionV2
1924
ref: ${{ github.head_ref || github.ref_name }}
2025
repository: 'ExpediaGroup/fraud-prevention-java-sdk'
21-
sdk_repo_ref: 'v20250203'
22-
transformations: '--operationIdsToTags'
2326
version: ${{ inputs.version }}
27+
transformations: '--operationIdsToTags'
28+
sdk_repo_ref: ${{ inputs.sdk_repo_ref }}

.github/workflows/release-sdk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
release-sdk:
15-
uses: ExpediaGroup/expediagroup-java-sdk/.github/workflows/selfserve-release-sdk.yaml@v20250203
15+
uses: ExpediaGroup/expediagroup-java-sdk/.github/workflows/selfserve-release-sdk.yaml@legacy
1616
secrets: inherit
1717
with:
1818
branch: ${{ inputs.branch }}

0 commit comments

Comments
 (0)