File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,17 @@ jobs:
3838 - name : Set up Docker Buildx (Aztec local network needs BuildKit)
3939 uses : docker/setup-buildx-action@v2
4040
41+ - name : Detect Aztec version
42+ id : aztec-version
43+ run : |
44+ AZTEC_VERSION=$(node -p "require('./package.json').config.aztecVersion")
45+ echo "version=$AZTEC_VERSION" >> "$GITHUB_OUTPUT"
46+ echo "Aztec version is $AZTEC_VERSION"
47+
4148 - name : Install Aztec CLI
4249 run : |
4350 curl -s https://install.aztec.network > tmp.sh
44- bash tmp.sh <<< yes "yes"
51+ VERSION=${{ steps.aztec-version.outputs.version }} bash tmp.sh <<< yes "yes"
4552
4653 - name : Update path
4754 run : echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change 5858 - name : Install Aztec CLI
5959 run : |
6060 curl -s https://install.aztec.network > tmp.sh
61- bash tmp.sh <<< yes "yes"
61+ VERSION=${{ steps.aztec-version.outputs.version }} bash tmp.sh <<< yes "yes"
6262
6363 - name : Update path
6464 run : echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change 4545 - name : Install Aztec CLI
4646 run : |
4747 curl -s https://install.aztec.network > tmp.sh
48- bash tmp.sh <<< yes "yes"
48+ VERSION=${{ steps.aztec-version.outputs.version }} bash tmp.sh <<< yes "yes"
4949
5050 - name : Update path
5151 run : echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
You can’t perform that action at this time.
0 commit comments