Skip to content

Commit fc299b1

Browse files
authored
Merge pull request #46 from kssgarcia/develop_v2.0
changing branch name in yml file
2 parents 1b9ae30 + 0020a90 commit fc299b1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/python-publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches:
66
- main
7-
- develop_v2.0
7+
- "2.0"
88
tags:
9-
- 'v*.*.*'
9+
- "v*.*.*"
1010
pull_request:
1111
branches:
1212
- main
13-
- develop_v2.0
13+
- "2.0"
1414

1515
concurrency:
1616
group: ci-${{ github.ref }}
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
python-version: ['3.11', '3.12', '3.13']
25+
python-version: ["3.11", "3.12", "3.13"]
2626

2727
steps:
2828
- name: Checkout code
@@ -103,15 +103,15 @@ jobs:
103103
uses: ad-m/[email protected]
104104
with:
105105
github_token: ${{ secrets.GITHUB_TOKEN }}
106-
branch: develop_v2.0
106+
branch: "2.0"
107107
directory: .
108108
force: true
109109

110110
# Build and Publish Steps
111111
- name: Set up Python
112112
uses: actions/setup-python@v5
113113
with:
114-
python-version: '3.8'
114+
python-version: "3.8"
115115

116116
- name: Install build tools
117117
run: |
@@ -123,7 +123,7 @@ jobs:
123123

124124
- name: Publish package to TestPyPI
125125
env:
126-
TWINE_USERNAME: '__token__'
126+
TWINE_USERNAME: "__token__"
127127
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
128128
run: |
129129
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
@@ -132,7 +132,7 @@ jobs:
132132
uses: conda-incubator/setup-miniconda@v2
133133
with:
134134
auto-update-conda: true
135-
python-version: '3.10'
135+
python-version: "3.10"
136136
channels: conda-forge
137137
use-mamba: false
138138

@@ -150,4 +150,4 @@ jobs:
150150
run: |
151151
for pkg in dist/*/*.tar.bz2; do
152152
conda run -n base anaconda upload "$pkg" --force
153-
done
153+
done

0 commit comments

Comments
 (0)