diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 0aed3ec..1773080 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -25,11 +25,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install run-time dependencies + - name: Install giffki + if: ${{ matrix.case == 'gif' }} shell: bash - run: | - [[ "${{ matrix.case }}" == "apng" ]] && winget install ffmpeg || echo ok; - [[ "${{ matrix.case }}" == "gif" ]] && cargo install gifski || echo ok; + run: cargo install gifski + + - name: Install ffmpeg + if: ${{ matrix.case == 'apng' }} + uses: FedericoCarboni/setup-ffmpeg@v2 - name: Download artifact uses: actions/download-artifact@v3