Skip to content

Commit

Permalink
Merge pull request #46 from kssgarcia/develop_v2.0
Browse files Browse the repository at this point in the history
changing branch name in yml file
  • Loading branch information
nicoguaro authored Dec 27, 2024
2 parents 1b9ae30 + 0020a90 commit fc299b1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:
branches:
- main
- develop_v2.0
- "2.0"
tags:
- 'v*.*.*'
- "v*.*.*"
pull_request:
branches:
- main
- develop_v2.0
- "2.0"

concurrency:
group: ci-${{ github.ref }}
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']
python-version: ["3.11", "3.12", "3.13"]

steps:
- name: Checkout code
Expand Down Expand Up @@ -103,15 +103,15 @@ jobs:
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: develop_v2.0
branch: "2.0"
directory: .
force: true

# Build and Publish Steps
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: "3.8"

- name: Install build tools
run: |
Expand All @@ -123,7 +123,7 @@ jobs:

- name: Publish package to TestPyPI
env:
TWINE_USERNAME: '__token__'
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
Expand All @@ -132,7 +132,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: '3.10'
python-version: "3.10"
channels: conda-forge
use-mamba: false

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

0 comments on commit fc299b1

Please sign in to comment.