Skip to content

Commit 1de4b3a

Browse files
fix: Update workflow to trigger from main
fix: Update workflow to trigger from main
2 parents 6584b61 + 668bbf8 commit 1de4b3a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Upload Python Package
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
permissions:
77
contents: write
88
id-token: write
@@ -12,7 +12,7 @@ jobs:
1212
release:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Checkout master branch
15+
- name: Checkout main branch
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
@@ -38,4 +38,4 @@ jobs:
3838
env:
3939
TWINE_USERNAME: __token__
4040
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
41-
run: twine upload dist/*
41+
run: twine upload dist/*

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[semantic_release]
22
version_source = tag
33
upload_to_pypi = true
4-
# branch = master
5-
branches = master,main,release-main
4+
branch = release-main
5+
# branches = master,release-main
66
commit = false
77
push = false
88

0 commit comments

Comments
 (0)