Skip to content

Commit

Permalink
Change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Weichart committed Sep 11, 2024
1 parent 6e8bb6f commit 77a7c74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
name: Build and publish python package

on:
release:
types: [ published ]

jobs:
publish-service-client-package:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Publish PyPi package
uses: code-specialist/pypi-poetry-publish@v1
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PYPI_TOKEN }}
PUBLISH_REGISTRY: "https://test.pypi.org/simple/"
BRANCH: "main"
POETRY_VERSION: "1.1.7"
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
repository_name: "tetris-gymnasium"
repository_url: "https://test.pypi.org/simple/"
1 change: 0 additions & 1 deletion __init__.py

This file was deleted.

0 comments on commit 77a7c74

Please sign in to comment.