Skip to content

Commit

Permalink
Update dependencies and GitHub Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaphoenix committed Sep 19, 2023
1 parent 3018b53 commit 4de995b
Show file tree
Hide file tree
Showing 4 changed files with 464 additions and 461 deletions.
56 changes: 29 additions & 27 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,32 @@ jobs:
name: Tagged Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10.x'
- name: Install Poetry
uses: abatilo/[email protected]
- name: Install dependencies
run: poetry install
- name: Build a wheel
run: poetry build
- name: Upload wheel
uses: actions/[email protected]
with:
name: Python Wheel
path: "dist/*.whl"
- name: Deploy release
uses: marvinpinto/action-automatic-releases@latest
with:
prerelease: false
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: |
dist/*.whl
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.x'
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: '1.4.1'
- name: Install project
run: poetry install --no-dev
- name: Build a wheel
run: poetry build
- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: Python Wheel
path: "dist/*.whl"
- name: Deploy release
uses: marvinpinto/action-automatic-releases@latest
with:
prerelease: false
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: |
dist/*.whl
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
vapoursynth-version: '62'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install VapourSynth R${{ matrix.vapoursynth-version }}
uses: rlaphoenix/install-vapoursynth-action@a3efdd83bdeda6df58ed8d6a725faaa12a34052f
uses: rlaphoenix/install-vapoursynth-action@v2.1.1
with:
version: ${{ matrix.vapoursynth-version }}
cache: true
- name: Install Poetry
uses: abatilo/actions-poetry@v2.3.0
uses: abatilo/actions-poetry@v2
- name: Install project
run: poetry install --no-dev
- name: Install flake8 and isort
Expand Down
Loading

0 comments on commit 4de995b

Please sign in to comment.