Release #20
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: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
release: | |
description: "Release type" | |
required: true | |
default: "minor" | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 50 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install python-semantic-release | |
run: pip install python-semantic-release==7.34.6 | |
- name: Release | |
env: | |
REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
git config --global user.email "factor.pricing.model@gmail.com" | |
git config --global user.name "Factor Pricing Model" | |
semantic-release publish --${{ github.event.inputs.release }} |