Merge pull request #117 from aryanbhosale/main #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump version and auto-release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bump-version: | |
uses: openclimatefix/.github/.github/workflows/[email protected] | |
secrets: | |
PAT_TOKEN: ${{ secrets.PAT_TOKEN }} | |
github-release: | |
needs: [ bump-version ] | |
uses: openclimatefix/.github/.github/workflows/[email protected] | |
with: | |
version: ${{ needs.bump-version.outputs.new_ver }} | |
publish-to-pypi: | |
needs: [ bump-version ] | |
uses: openclimatefix/.github/.github/workflows/[email protected] | |
with: | |
ref: main | |
secrets: | |
token: ${{ secrets.PYPI_API_TOKEN }} |