Skip to content

Commit 7ca3da9

Browse files
authored
Further fixes to ci-main (#4221)
## Motivation and Context Noticed `ci-main.yml` is [still broken](https://github.com/smithy-lang/smithy-rs/actions/runs/16329860467/job/46129467122) (CI won't run when a PR is merged to main) ## Description Noticed from [the commit history on main](https://github.com/smithy-lang/smithy-rs/commits/main/) that the path `./.github/scripts/...` works, while `./smithy-rs/.github/scripts/...` doesn't ([example](https://github.com/smithy-lang/smithy-rs/actions/runs/16308735604/job/46059996940)). [The previous PR](https://github.com/smithy-lang/smithy-rs/pull/4220/files#diff-a1a3cb9bdeb5541d148091d973cf266aa3b317e6415a86630e816cbe27cf8b9cR61) used the latter path in `Tag and upload image` within `ci-main.yml`, but it failed after being merged into main. This PR switches to `./.github/scripts/...` to see if it works. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent fca4d08 commit 7ca3da9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ jobs:
5858
run: ./.github/scripts/acquire-build-image
5959
- name: Tag and upload image
6060
run: |
61-
IMAGE_TAG="ci-$(./smithy-rs/.github/scripts/docker-image-hash)"
62-
./smithy-rs/.github/scripts/upload-build-image.sh $IMAGE_TAG
61+
pwd
62+
IMAGE_TAG="ci-$(./.github/scripts/docker-image-hash)"
63+
./.github/scripts/upload-build-image.sh $IMAGE_TAG
6364
6465
# Run the shared CI after a Docker build image has been uploaded to ECR
6566
ci:

0 commit comments

Comments
 (0)