File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Always validate the PR title AND all the commits
2+ titleAndCommits : true
Original file line number Diff line number Diff line change 1+ name : release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ release :
8+ name : Release
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v1
19+
20+ - name : Setup
21+ run : npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi
22+
23+ - name : Set up python
24+ uses : actions/setup-python@v2
25+ with :
26+ python-version : 3.9
27+
28+ - name : Install setuptools
29+ run : python -m pip install --upgrade setuptools wheel twine
30+
31+ - name : Release
32+ env :
33+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
35+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments