Skip to content

Commit

Permalink
chore: update used refs
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Aug 21, 2024
1 parent b015f92 commit 350dbf4
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions .github/workflows/selfserve-full-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,25 @@ on:
E.g., 1.0.0, 1.0.1, 1.0.0-SNAPSHOT, etc.
required: true
type: string
custom_templates:
sdk-repo-ref:
description: |
Path to the custom templates directory.
Make sure to checkout the custom templates directory before setting this input.
Branch or tag to checkout on the `expediagroup-sdk-core` repository.
Leave empty to use the default branch.
type: string
default: '-NA-'
default: ''
base_templates:
description: |
Path to the base templates directory.
Use the default path if you are using the default templates.
Use `sdk-repo` to refer to the `expediagroup-sdk` repo root path if needed.
type: string
default: 'sdk-repo/generator/openapi/src/main/resources/templates/expediagroup-sdk'
custom_templates:
description: |
Path to the custom templates directory.
Make sure to checkout the custom templates directory before setting this input.
type: string
default: '-NA-'
combined_templates_key:
description: 'Key to the combined templates artifact'
type: string
Expand All @@ -38,7 +44,7 @@ on:
default: ''
ref:
description: |
Branch or tag to checkout on the `expediagroup-sdk` repository.
Branch or tag to checkout on the provided repository.
Leave empty to use the default branch.
type: string
default: ''
Expand Down Expand Up @@ -84,27 +90,28 @@ jobs:
steps:
- name: Show inputs
run: |
echo "name: ${{ inputs.name }}"
echo "version: ${{ inputs.version }}"
echo "custom_templates: ${{ inputs.custom_templates }}"
echo "base_templates: ${{ inputs.base_templates }}"
echo "combined_templates_key: ${{ inputs.combined_templates_key }}"
echo "repository: ${{ inputs.repository }}"
echo "ref: ${{ inputs.ref }}"
echo "specs_key: ${{ inputs.specs_key }}"
echo "specs_path: ${{ inputs.specs_path }}"
echo "transformed_specs_key: ${{ inputs.transformed_specs_key }}"
echo "transformations: ${{ inputs.transformations }}"
echo "sources_path: ${{ inputs.sources_path }}"
echo "sdk_key: ${{ inputs.sdk_key }}"
echo "SDK Name: ${{ inputs.name }}"
echo "SDK Version: ${{ inputs.version }}"
echo "SDK Repository Ref: ${{ inputs.sdk-repo-ref }}"
echo "Base Templates: ${{ inputs.base_templates }}"
echo "Custom Templates: ${{ inputs.custom_templates }}"
echo "Combined Templates Key: ${{ inputs.combined_templates_key }}"
echo "Repository: ${{ inputs.repository }}"
echo "Ref: ${{ inputs.ref }}"
echo "Specs Key: ${{ inputs.specs_key }}"
echo "Specs Path: ${{ inputs.specs_path }}"
echo "Transformed Specs Key: ${{ inputs.transformed_specs_key }}"
echo "Transformations: ${{ inputs.transformations }}"
echo "Sources Path: ${{ inputs.sources_path }}"
echo "SDK Key: ${{ inputs.sdk_key }}"
upload-specs:
uses: ./.github/workflows/selfserve-upload-specs.yaml
with:
specs_key: ${{ inputs.specs_key }}
specs_path: ${{ inputs.specs_path }}
repository: ${{ inputs.repository }}
ref: ${{ inputs.ref }}
ref: ${{ inputs.sdk-repo-ref }}

transform-specs:
uses: ./.github/workflows/selfserve-transform-specs.yaml
Expand Down

0 comments on commit 350dbf4

Please sign in to comment.