Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xucian committed Nov 10, 2021
1 parent 67d4763 commit e2be7b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ runs:
- name: Upload raw
uses: main-quest/[email protected]
if: ${{ !inputs.zip }}
if: ${{ inputs.zip == false }}
with:
key: ${{ inputs.key }}
do: -m cp -r "${{ inputs.path }}" "gs://${{ steps.bucket_namer.outputs.value }}/${{ github.run_id }}/${{ inputs.name }}/"

- name: Zip files if asked to
id: zip_preparer
if: ${{ inputs.zip }}
if: ${{ inputs.zip == true }}
shell: bash
run: |
d="${{ inputs.name }}"__zipped
Expand All @@ -59,7 +59,7 @@ runs:
- name: Upload zipped if asked to
uses: main-quest/[email protected]
if: ${{ inputs.zip }}
if: ${{ inputs.zip == true }}
with:
key: ${{ inputs.key }}
do: -m cp -r "${{ steps.zip_preparer.outputs.file_path }}" "gs://${{ steps.bucket_namer.outputs.value }}/${{ github.run_id }}/${{ inputs.name }}/"

0 comments on commit e2be7b2

Please sign in to comment.