Skip to content

2025-12-16 22:24:05 (Tue) > DW-Mac > derekwan #12

2025-12-16 22:24:05 (Tue) > DW-Mac > derekwan

2025-12-16 22:24:05 (Tue) > DW-Mac > derekwan #12

Workflow file for this run

name: push

Check failure on line 1 in .github/workflows/push.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/push.yaml

Invalid workflow file

(Line: 23, Col: 7): Unexpected value 'id-write'
"on":
push:
branches:
- master
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Tag latest commit
uses: dycw/action-tag-commit@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
publish:
environment:
name: pypi
needs:
- tag
permissions:
id-write: write
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Install 'uv'
uses: astral-sh/setup-uv@7
with:
enable-cache: true
- name: Build Python package
run: uv build
- name: Upload distribution
run: uv publish --trusted-publishing always