Skip to content

Commit

Permalink
Publish via github action instead of manually
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschanda committed Sep 17, 2023
1 parent c2f7be9 commit aa11922
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: TRLC PyPI Packages
on:
release:
types: [published]
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -33,7 +32,7 @@ jobs:
path: "dist/trlc-*.whl"

upload-test:
name: TestPyPI Upload
name: PyPI Upload
needs: package
runs-on: ubuntu-20.04
environment: release
Expand All @@ -47,5 +46,3 @@ jobs:
path: dist
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ bump:
full_release:
make remove_dev
git push
make package
make upload_main
make github_release
make bump
git push
Expand Down

0 comments on commit aa11922

Please sign in to comment.