Skip to content

Commit

Permalink
fix: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Oct 15, 2024
1 parent 75833f4 commit d4baa59
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,27 @@ jobs:
permissions:
id-token: write

strategy:
matrix:
python-version: [ "3.12" ]

name: "release: python ${{ matrix.python-version }}"
timeout-minutes: 5

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Python
uses: actions/setup-python@v5
with:
cache: "pip"
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
cache: "pip"
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine build
- name: Install Requirements
run: pip install setuptools wheel twine build

- name: Build
run: python -m build
- name: Build
run: python -m build

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit d4baa59

Please sign in to comment.