Remove duplicate in action.yml

This commit is contained in:
Taiki Endo
2025-02-03 22:15:36 +09:00
parent dc9bc151a3
commit 55ec4a4d53

View File

@@ -40,14 +40,8 @@ runs:
exit 1 exit 1
fi fi
fi fi
bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: sh shell: sh
env: if: runner.os == 'Linux'
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
if: runner.os != 'Windows'
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh" - run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash shell: bash
env: env:
@@ -55,4 +49,3 @@ runs:
INPUT_CHECKSUM: ${{ inputs.checksum }} INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }} INPUT_FALLBACK: ${{ inputs.fallback }}
DEFAULT_GITHUB_TOKEN: ${{ github.token }} DEFAULT_GITHUB_TOKEN: ${{ github.token }}
if: runner.os == 'Windows'