diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 95502de1..dacbaeaa 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -51,7 +51,7 @@ jobs: perl ${{ github.workspace }}/exiftool/exiftool.pl -ver - name: Setup FFmpeg - uses: FedericoCarboni/setup-ffmpeg@v2 + uses: FedericoCarboni/setup-ffmpeg@v3 # ffmpeg is not supported in the latest macOS arch: # Error: setup-ffmpeg can only be run on 64-bit systems if: matrix.platform != 'macos-latest' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1da43ede..43d55524 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,7 +134,7 @@ jobs: needs: ["build_and_release"] runs-on: "ubuntu-20.04" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 @@ -150,14 +150,15 @@ jobs: run: python3 -m build --outdir pypa_dist/ . - name: Publish package distributions to TestPyPI - uses: pypa/gh-action-pypi-publish@v1.8.6 + uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ password: ${{ secrets.TEST_PYPI_API_TOKEN }} packages-dir: pypa_dist/ + skip-existing: true - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@v1.8.6 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} packages-dir: pypa_dist/