Skip to content

Commit

Permalink
Fix conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed Jun 12, 2024
1 parent 8697455 commit 713483c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ runs:
credentials_json: "${{ inputs.google_credentials }}"

- name: '[Win] Upload Output Files to GCS'
if: ${{ success() }}
if: ${{ success() && inputs.os == 'windows'}}
id: win_upload-output-files
uses: google-github-actions/upload-cloud-storage@v2
with:
Expand All @@ -439,7 +439,7 @@ runs:
glob: "${{ inputs.output_prefix }}*"

- name: '[Win] Upload log file to GCS'
if: ${{ success() || failure() }}
if: ${{ ( success() || failure() ) && inputs.os == 'windows'}}
id: win_upload-log-files
uses: google-github-actions/upload-cloud-storage@v2
with:
Expand Down

0 comments on commit 713483c

Please sign in to comment.