Skip to content

Commit

Permalink
Use new gh version
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed May 30, 2024
1 parent 27ccb7c commit c9df4ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- {os: ubuntu-latest, python: "3.10", ffmpeg: "6.1", extras: true}
- {os: ubuntu-latest, python: "3.9", ffmpeg: "6.0"}
- {os: ubuntu-latest, python: pypy3.9, ffmpeg: "6.0"}
- {os: macos-12, python: "3.9", ffmpeg: "6.1"}
- {os: macos-12, python: "3.10", ffmpeg: "6.1"}

env:
PYAV_PYTHON: python${{ matrix.config.python }}
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
fail-fast: false
matrix:
config:
- {os: windows-latest, python: "3.9", ffmpeg: "6.1"}
- {os: windows-latest, python: "3.10", ffmpeg: "6.1"}

steps:
- name: Checkout
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
python scripts/fetch-vendor.py --config-file scripts/ffmpeg-6.1.json /tmp/vendor
PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig python setup.py sdist
- name: Upload source package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: dist-source
path: dist/

package-wheel:
Expand All @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: macos-14
arch: arm64
- os: macos-13
arch: x86_64
Expand Down Expand Up @@ -73,19 +73,19 @@ jobs:
cibuildwheel --output-dir dist
shell: bash
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: dist-${{ matrix.os }}-${{ matrix.arch }}
path: dist/

publish:
runs-on: ubuntu-latest
needs: [package-source, package-wheel]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
merge-multiple: true
path: dist/
- name: Publish to PyPI
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down

0 comments on commit c9df4ca

Please sign in to comment.