Skip to content

Commit 645008b

Browse files
Merge pull request #56 from Geode-solutions/next
Next
2 parents 25ad8e5 + 4b640c3 commit 645008b

File tree

6 files changed

+1009
-941
lines changed

6 files changed

+1009
-941
lines changed

.github/workflows/CD.yml

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,36 @@ name: CD
22

33
on:
44
push:
5-
branches: [ master, next ]
5+
branches: [master, next]
66

77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v4
13-
with:
14-
fetch-depth: 0
15-
token: ${{ secrets.TOKEN }}
16-
- name: Python Semantic Release
17-
uses: python-semantic-release/python-semantic-release@master
18-
id: semantic-release
19-
with:
20-
github_token: ${{ secrets.TOKEN }}
21-
- name: Build
22-
run: |
23-
python3 -m pip install --upgrade build
24-
python3 -m build
25-
- name: Upload
26-
if: steps.semantic-release.outputs.released == 'true'
27-
run: |
28-
python3 -m pip install twine
29-
python3 -m twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
30-
- name: Merge master -> next
31-
if: github.ref == 'ref/head/master'
32-
uses: devmasx/merge-branch@master
33-
with:
34-
type: now
35-
from_branch: master
36-
target_branch: next
37-
github_token: ${{ github.token }}
38-
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
token: ${{ secrets.TOKEN }}
16+
- name: Python Semantic Release
17+
uses: python-semantic-release/python-semantic-release@master
18+
id: semantic-release
19+
with:
20+
github_token: ${{ secrets.TOKEN }}
21+
- name: Build
22+
run: |
23+
python3 -m pip install --upgrade build
24+
python3 -m build
25+
- name: Upload
26+
if: steps.semantic-release.outputs.released == 'true'
27+
run: |
28+
python3 -m pip install twine
29+
python3 -m twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
30+
- name: Merge master -> next
31+
if: github.ref == 'refs/heads/master'
32+
uses: devmasx/merge-branch@master
33+
with:
34+
type: now
35+
from_branch: master
36+
target_branch: next
37+
github_token: ${{ github.token }}

0 commit comments

Comments
 (0)