Skip to content

Commit

Permalink
Remove inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Nov 23, 2023
1 parent 8b842e6 commit a6bef87
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Release on PYPI

on:
workflow_dispatch:
inputs:
test:
description: 'Use PYPI test server'
required: false
default: 'false'
push:
branches:
- master
Expand Down Expand Up @@ -60,6 +55,4 @@ jobs:
uses: actions/download-artifact@v3

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: "${{ inputs.test == 'true' && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}"
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit a6bef87

Please sign in to comment.