From 87f85cb7384f4a04a9410c6be15c570933a9bdd0 Mon Sep 17 00:00:00 2001 From: Dominic Mayhew Date: Wed, 14 Feb 2024 23:06:12 -0800 Subject: [PATCH] Use version argument for cargo install action --- .github/workflows/generate.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 4c930ed..d927617 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -34,22 +34,25 @@ jobs: - name: Install Prost from Cargo uses: baptiste0928/cargo-install@v2 with: - crate: protoc-gen-prost@0.2.3 - + crate: protoc-gen-prost + version: 0.2.3 - name: Install protoc-gen-prost-crate from Cargo uses: baptiste0928/cargo-install@v2 with: - crate: protoc-gen-prost-crate@0.3.1 + crate: protoc-gen-prost-crate + version: 0.3.1 - name: Install Prost serde from Cargo uses: baptiste0928/cargo-install@v2 with: - crate: protoc-gen-prost-serde@0.2.3 + crate: protoc-gen-prost-serde + version: 0.2.3 - name: Install Tonic from Cargo uses: baptiste0928/cargo-install@v2 with: - crate: protoc-gen-tonic@0.3.0 + crate: protoc-gen-tonic + version: 0.3.0 - name: Setup Haskell uses: ./.github/actions/setup-protoc-hololens