Not equal for binary artifact
This commit is contained in:
parent
91661b7a72
commit
8b9a642cc5
|
@ -20,6 +20,7 @@ inputs:
|
||||||
required: true
|
required: true
|
||||||
binary_artifact:
|
binary_artifact:
|
||||||
description: 'Binary artifact for integration tests'
|
description: 'Binary artifact for integration tests'
|
||||||
|
default: ''
|
||||||
binary_path:
|
binary_path:
|
||||||
description: 'Path witin binary artifact for integration tests'
|
description: 'Path witin binary artifact for integration tests'
|
||||||
|
|
||||||
|
@ -49,7 +50,7 @@ runs:
|
||||||
path: _tests
|
path: _tests
|
||||||
|
|
||||||
- name: Download Binary Artifact
|
- name: Download Binary Artifact
|
||||||
if: ${{ inputs.binary_artifact }}
|
if: ${{ inputs.binary_artifact }} != ''
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.binary_artifact }}
|
name: ${{ inputs.binary_artifact }}
|
||||||
|
@ -66,7 +67,7 @@ runs:
|
||||||
run: chmod +x ./_tests/Sonarr.Test.Dummy && chmod +x ./_tests/ffprobe
|
run: chmod +x ./_tests/Sonarr.Test.Dummy && chmod +x ./_tests/ffprobe
|
||||||
|
|
||||||
- name: Make Sonarr binary executable
|
- name: Make Sonarr binary executable
|
||||||
if: ${{ inputs.binary_path }} && startsWith(inputs.platform, 'windows') != true
|
if: ${{ inputs.binary_path }} != '' && startsWith(inputs.platform, 'windows') != true
|
||||||
shell: bash
|
shell: bash
|
||||||
run: chmod +x ./_tests/bin/Sonarr
|
run: chmod +x ./_tests/bin/Sonarr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue