From e75f9d38690c957c1f035d461b8a5a354bca14ab Mon Sep 17 00:00:00 2001
From: David Tolnay <dtolnay@gmail.com>
Date: Fri, 15 Jul 2022 11:05:04 -0700
Subject: [PATCH] Delete version output

---
 .github/workflows/ci.yml | 2 --
 action.yml               | 4 ----
 2 files changed, 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dc62d19..14ce5dd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -30,8 +30,6 @@ jobs:
         id: toolchain
         with:
           toolchain: ${{matrix.rust}}
-      - name: Check ${{'${{steps.toolchain.outputs.version}}'}}
-        run: echo '${{steps.toolchain.outputs.version}}'
       - name: Check ${{'${{steps.toolchain.outputs.cachekey}}'}}
         run: echo '${{steps.toolchain.outputs.cachekey}}'
       - run: rustc --version
diff --git a/action.yml b/action.yml
index 1a4dc9f..9321b72 100644
--- a/action.yml
+++ b/action.yml
@@ -20,9 +20,6 @@ outputs:
   cachekey:
     description: A short hash of the rustc version, appropriate for use as a cache key. "20220627a831"
     value: ${{steps.rustc-version.outputs.cachekey}}
-  version:
-    description: Version as reported by `rustc --version`. "rustc 1.62.0 (a8314ef7d 2022-06-27)"
-    value: ${{steps.rustc-version.outputs.version}}
 
 runs:
   using: composite
@@ -56,7 +53,6 @@ runs:
         DATE=$(rustc --version --verbose | sed -ne 's/^commit-date: \(20[0-9][0-9]\)-\([01][0-9]\)-\([0-3][0-9]\)$/\1\2\3/p')
         HASH=$(rustc --version --verbose | sed -ne 's/^commit-hash: //p')
         echo "::set-output name=cachekey::$(echo $DATE$HASH | head -c12)"
-        echo "::set-output name=version::$(rustc --version)"
       shell: bash
     - run: rustc --version --verbose
       shell: bash