diff --git a/action.yml b/action.yml
index 9551fd1..a4e7a3d 100644
--- a/action.yml
+++ b/action.yml
@@ -38,6 +38,7 @@ runs:
         echo "::set-output name=downgrade::${{inputs.toolchain == 'nightly' && inputs.components && ' --allow-downgrade' || ''}}"
       env:
         targets: ${{inputs.target}}
+        target: ${{inputs.target}}
         components: ${{inputs.components}}
       shell: bash