We need to checkout in the `smithy-rs` folder because that's an assumption baked into the definition of the docker-build action. (#2284)

This commit is contained in:
Luca Palmieri 2023-02-02 12:43:26 +00:00 committed by GitHub
parent 344bf3ee48
commit 20c4839cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -117,11 +117,12 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.release_branch }}
path: smithy-rs
token: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }}
- name: Upgrade gradle.properties
uses: ./.github/actions/docker-build
uses: ./smithy-rs/.github/actions/docker-build
with:
action: upgrade-gradle-smithy-rs-release ${{ inputs.semantic_version }}
action: upgrade-gradle-properties ${{ inputs.semantic_version }}
- name: Push gradle.properties changes
id: gradle-push
shell: bash
@ -217,9 +218,10 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ inputs.commit_sha }}
path: smithy-rs
token: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }}
- name: Empty CHANGELOG.next.toml
uses: ./.github/actions/docker-build
uses: ./smithy-rs/.github/actions/docker-build
with:
action: generate-new-changelog-next-toml
- name: Push smithy-rs changes

View File

@ -6,4 +6,4 @@
set -eux
changelogger init > CHANGELOG.next.toml
changelogger init > smithy-rs/CHANGELOG.next.toml

View File

@ -6,4 +6,4 @@
set -eux
publisher upgrade-runtime-crates-version --version ${1}
publisher upgrade-runtime-crates-version --version ${1} --gradle-properties-path smithy-rs/gradle.properties