Skip to content

Commit

Permalink
fix: execute-release.yml file (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruuuuuuuce authored Apr 17, 2024
1 parent 7112939 commit 6b0d02b
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/execute-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 6b0d02b

Please sign in to comment.