Skip to content

Fix release workflow #11

Fix release workflow

Fix release workflow #11

Workflow file for this run

name: release-deploy
on:
release:
types: [ published ]
push:
branches: [ main ]
pull_request:
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install required packages
run: |
python -m pip install -U pip
python -m pip install build
- name: Build wheels and sdist
run: |
python -m build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: wheels
path: ./dist
- name: Publish package to PyPi
environment:

Check failure on line 40 in .github/workflows/release-deploy.yml

View workflow run for this annotation

GitHub Actions / release-deploy

Invalid workflow file

The workflow is not valid. .github/workflows/release-deploy.yml (Line: 40, Col: 7): Unexpected value 'environment' .github/workflows/release-deploy.yml (Line: 43, Col: 7): Unexpected value 'permissions'
name: pypi
url: https://pypi.org/project/pylibjpeg/
permissions:
id-token: write
run: |
ls -l dist/
#
# - name: Publish package to PyPi
# uses: pypa/gh-action-pypi-publish@release/v1