Skip to content

Commit

Permalink
fix: Temporarily fix GitHub Actions type system fail
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimMouse committed Oct 8, 2024
1 parent b83b321 commit 92af8e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ runs:
key: FFmpeg-${{ steps.version-unix-like.outputs.version || steps.version-windows.outputs.version }}-${{ steps.release-id-unix-like.outputs.release_id || steps.release-id-windows.outputs.release_id }}-${{ runner.os }}

- name: Download FFmpeg for Unix-like
if: (runner.os == 'Linux' || runner.os == 'macOS') && ! steps.cache.outputs.cache-hit
if: (runner.os == 'Linux' || runner.os == 'macOS') && (! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false')
shell: bash
working-directory: ${{ runner.temp }}
run: $GITHUB_ACTION_PATH/scripts/download/Unix-like.sh
env:
version: ${{ steps.version-unix-like.outputs.version }}

- name: Download FFmpeg for Windows
if: runner.os == 'Windows' && ! steps.cache.outputs.cache-hit
if: runner.os == 'Windows' && (! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false')
shell: pwsh
working-directory: ${{ runner.temp }}
run: '& $env:GITHUB_ACTION_PATH\scripts\download\Windows.ps1'
Expand All @@ -77,7 +77,7 @@ runs:
cache_hit: ${{ steps.cache.outputs.cache-hit }}

- name: Save FFmpeg cache
if: '! steps.cache.outputs.cache-hit'
if: "! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false'"
uses: actions/cache/save@v4
with:
path: ${{ runner.tool_cache }}/FFmpeg
Expand Down

0 comments on commit 92af8e2

Please sign in to comment.