Skip to content

Commit

Permalink
馃敄 Release version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Luanee committed Sep 22, 2023
1 parent ca1fc37 commit 03c7873
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Publish

on:
release:
types:
- published
types: [published]

jobs:
build:
Expand All @@ -13,6 +12,7 @@ jobs:
- uses: actions/setup-python@v3
with:
python-version: 3.11
cache-dependency-path: pyproject.toml
- run: |
pip install poetry
poetry build
Expand All @@ -31,10 +31,10 @@ jobs:
id-token: write
steps:
- uses: actions/download-artifact@v3
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish
uses: pypa/gh-action-pypi-publish@v1.8.6
with:
packages_dir: artifact/
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down

0 comments on commit 03c7873

Please sign in to comment.