Skip to content

Commit

Permalink
Add parent-sha input
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Sep 25, 2023
1 parent d9825ed commit c4d90aa
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
required: false
type: string
default: ''
parent-sha:
description: 'SHA of the commit to start the experiment from'
required: false
type: string
default: ''
cloud:
description: 'Cloud compute provider to host the runner'
required: false
Expand Down Expand Up @@ -60,6 +65,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.parent-sha || '' }}
- uses: iterative/setup-cml@v1
- uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down Expand Up @@ -89,6 +96,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.parent-sha || '' }}
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-2
Expand Down

0 comments on commit c4d90aa

Please sign in to comment.