Skip to content

Commit

Permalink
Try windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
joaompinto committed May 29, 2022
1 parent 2836c8e commit 9627a0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/pypi-release/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: "Create PyPI Release"
description: "Creates a PyPi release"

inputs:
pypi_api_token: # id of input
description: 'Pypi API token'
required: true

runs:
using: "composite"
steps:
Expand All @@ -17,4 +22,4 @@ runs:
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ inputs.pypi_api_token }}
2 changes: 2 additions & 0 deletions .github/workflows/full-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
- uses: actions/checkout@v2
- name: Create Pypi Release
uses: ./.github/actions/pypi-release
with:
pypi_api_token: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 9627a0d

Please sign in to comment.