Commit 56fc28b9 authored by John DiSanti's avatar John DiSanti
Browse files

Add ability to choose branch to generate aws-sdk-rust/next from

parent 959baba6
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
# This workflow updates the `next` branch with freshly generated
# code from the latest smithy-rs and models that reside in aws-sdk-rust.

# Allow only one release to run at a time
concurrency:
  group: update-aws-sdk-next
  cancel-in-progress: true

name: Update `aws-sdk-rust/next`
on:
  workflow_dispatch:
    inputs:
      generate_ref:
        description: |
          Which branch/commit/tag of smithy-rs to use to generate aws-sdk-rust/next. Defaults to `main`.
        required: true
        type: string
        default: main

jobs:
  update-next:
@@ -13,7 +26,7 @@ jobs:
      uses: actions/checkout@v3
      with:
        repository: awslabs/smithy-rs
        ref: main
        ref: ${{ inputs.generate_ref }}
        path: smithy-rs
    - name: Check out `aws-sdk-rust`
      uses: actions/checkout@v3