Skip to content

Commit

Permalink
tagged release action
Browse files Browse the repository at this point in the history
  • Loading branch information
oualidbenkarim authored and oualidbenkarim committed Aug 2, 2022
1 parent f2af789 commit 05439cd
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/tagged_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: "tagged_release"

on:
push:
branches:
- master
tags:
- "v*"

Expand Down Expand Up @@ -36,15 +38,8 @@ jobs:
LICENSE
dist/*
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
verbose: true

- name: Publish to PyPi.
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}
verbose: true

0 comments on commit 05439cd

Please sign in to comment.