Skip to content

Commit

Permalink
fix unix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 10, 2024
1 parent 51f812e commit ba01d3c
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 @@ -170,15 +170,15 @@ runs:
path: ${{ github.workspace }}/output/**

- name: '[Unix] Upload log file'
if: ${{ inputs.os != 'windows' }}
if: ${{ inputs.os != 'windows' && ( success() || failure() ) }}
uses: actions/upload-artifact@v4
with:
name: app-logs-${{ github.job }}-${{ inputs.os }}-${{inputs.workflow_name}}-${{ github.run_id }}
path: ${{ github.workspace }}/application.log

- name: '[Unix] Cleanup output files only'
if: ${{ inputs.os != 'windows' && ( success() || failure() ) }}
shell: powershell
shell: bash -el {0}
run: rm -rf ${{ github.workspace }}/*

# - name: '[Unix] Cleanup Conda'
Expand Down

0 comments on commit ba01d3c

Please sign in to comment.