diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-05-09 16:49:51 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-05-09 16:49:51 +0300 |
| commit | efb153eb5a85499e71c424af9261e4b339c83c5e (patch) | |
| tree | 60b95432b82bd11d5980df4c040e073aa0d5d873 /.github | |
| parent | 1adfffd07f8704ca722f3897719ace079944b0c5 (diff) | |
| download | rust-efb153eb5a85499e71c424af9261e4b339c83c5e.tar.gz rust-efb153eb5a85499e71c424af9261e4b339c83c5e.zip | |
awk stage0 file on CI
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/dependencies.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index f4e409e0d49..03584aed08d 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -56,7 +56,7 @@ jobs: - name: install the bootstrap toolchain run: | # Extract the stage0 version - TOOLCHAIN=$(jq -r '.compiler | {version,date} | join("-")' -- src/stage0.json) + TOOLCHAIN=$(awk -F= '{a[$1]=$2} END {print(a["compiler_version"] "-" a["compiler_date"])}' src/stage0) # Install and set as default rustup toolchain install --no-self-update --profile minimal $TOOLCHAIN rustup default $TOOLCHAIN |
