Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Add write permission to id-token #436

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/Pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,23 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
# Setup steps
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.9'

- name: Checkout repo
uses: actions/checkout@v3

- name: Install dependencies
run: pip install wheel

- name: Build package
run: python setup.py sdist bdist_wheel
# Do the publish

- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1