Skip to content

Commit f17126b

Browse files
authored
fix canary install dependencies step (#1249)
## Motivation and Context <!-- Why is this change required? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here --> Fix canary install dependencies step that is [failing](https://github.com/awslabs/aws-sdk-rust/actions/runs/12898260366/job/35965110537) ``` Package awscli is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'awscli' has no installation candidate ``` AWS CLI is installed by default on ubuntu runners. See [runner-images](https://github.com/actions/runner-images). It appears `ubuntu-latest` recently switched from 22.04 to 24.04 which may be what caused this to stop working. 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 0548bb6 commit f17126b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/canary.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- "canary*"
99
env:
1010
tool_rust_version: 1.81.0
11-
rust_nightly_version: nightly-2024-03-15
11+
rust_nightly_version: nightly-2024-09-04
1212

1313
jobs:
1414
generate-canary-matrix:
@@ -70,11 +70,11 @@ jobs:
7070
toolchain: ${{ matrix.rust_version }}
7171
targets: x86_64-unknown-linux-musl
7272
- name: Install dependencies
73-
run: sudo apt-get update && sudo apt-get install -y awscli musl-dev musl-tools
73+
run: sudo apt-get update && sudo apt-get install -y musl-dev musl-tools
7474
- name: Install cargo component for wasm canary
7575
env:
7676
# Must be in sync with that specified in `smithy-rs`
77-
CARGO_COMPONENT_VERSION: 0.13.2
77+
CARGO_COMPONENT_VERSION: 0.20.0
7878
run: |
7979
rustup toolchain install ${{ env.rust_nightly_version }}
8080
rustup component add rustfmt

0 commit comments

Comments
 (0)