diff --git a/.github/workflows/execute-release.yml b/.github/workflows/execute-release.yml index 62b0610..5e18c96 100644 --- a/.github/workflows/execute-release.yml +++ b/.github/workflows/execute-release.yml @@ -77,6 +77,14 @@ jobs: aarch64-unknown-linux-gnu) sudo apt-get -y update ; sudo apt-get -y install gcc-aarch64-linux-gnu ;; esac + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: ${{ matrix.architecture.target }} + override: true + profile: minimal # minimal component installation (ie, no documentation) + - name: Show version information (Rust, cargo, GCC) shell: bash run: | @@ -190,6 +198,14 @@ jobs: - name: Install protoc run: ./scripts/install_protoc_osx.sh + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: ${{ matrix.architecture.target }} + override: true + profile: minimal # minimal component installation (ie, no documentation) + - name: Show version information (Rust, cargo, GCC) shell: bash run: | @@ -247,6 +263,12 @@ jobs: with: python-version: "3.x" + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: rustfmt + override: true + - name: Show Cargo Version run: | cat Cargo.toml @@ -393,6 +415,7 @@ jobs: $releaseId = $latestRelease | jq -r .id $ghAssetMsi = "https://uploads.github.com/repos/momentohq/momento-cli/releases/$releaseId/assets?name=$env:MSI_FILENAME" $ghAssetZip = "https://uploads.github.com/repos/momentohq/momento-cli/releases/$releaseId/assets?name=$env:ZIP_FILENAME" + echo "upload_url_msi=$ghAssetMsi" >> $GITHUB_OUTPUT echo "upload_url_zip=$ghAssetZip" >> $GITHUB_OUTPUT @@ -543,4 +566,3 @@ jobs: git commit -m "momento-cli ${MOMENTO_CLI_VERSION}" git push origin formula/momento-cli/v${MOMENTO_CLI_VERSION} shell: bash -