From 01960c2a925d094f733636c2ca0bb3fc5ec61a83 Mon Sep 17 00:00:00 2001 From: vsoch Date: Fri, 4 Mar 2022 00:09:48 -0700 Subject: [PATCH] need to separate run steps Signed-off-by: vsoch --- action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 301f227..4a8dfcb 100644 --- a/action.yml +++ b/action.yml @@ -43,6 +43,10 @@ runs: using: "composite" steps: + - name: Install Dependencies + run: pip install requests + shell: bash + - name: Deploy Zenodo id: deploy env: @@ -50,7 +54,5 @@ runs: archive: ${{ inputs.archive }} version: ${{ inputs.version }} ACTION_PATH: ${{ github.action_path }} - run: | - pip install requests - ${{ github.action_path }}/scripts/deploy.py upload ${archive} --zenodo-json ${zenodo_json} --version ${version} + run: ${{ github.action_path }}/scripts/deploy.py upload ${archive} --zenodo-json ${zenodo_json} --version ${version} shell: python