Skip to content

Commit ffe83eb

Browse files
committed
no push on tags
1 parent 3346d13 commit ffe83eb

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Upload Python Package
1+
# name: Upload Python Package
22

3-
on:
4-
push:
5-
tags: v*
3+
# on:
4+
# push:
5+
# tags: v*
66

7-
jobs:
8-
deploy:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v4
12-
- name: Set up Python
13-
uses: actions/setup-python@v4
14-
with:
15-
python-version: '3.x'
16-
- name: Install dependencies
17-
run: |
18-
python -m pip install --upgrade build
19-
python -m pip install --upgrade twine
20-
- name: Set VERSION environment variable
21-
run: |
22-
echo GitHub_ref: $GITHUB_REF
23-
arrTag=(${GITHUB_REF//\// })
24-
VERSION="${arrTag[2]}"
25-
echo Version: $VERSION
26-
VERSION="${VERSION//v}"
27-
echo Clean Version: $VERSION
28-
echo "VERSION=${VERSION}" >> $GITHUB_ENV
29-
- name: Build and publish
30-
env:
31-
TWINE_USERNAME: "__token__"
32-
TWINE_PASSWORD: ${{ secrets.PYPI_ORG_TOKEN }}
33-
run: |
34-
python ./build.py
7+
# jobs:
8+
# deploy:
9+
# runs-on: ubuntu-latest
10+
# steps:
11+
# - uses: actions/checkout@v4
12+
# - name: Set up Python
13+
# uses: actions/setup-python@v4
14+
# with:
15+
# python-version: '3.x'
16+
# - name: Install dependencies
17+
# run: |
18+
# python -m pip install --upgrade build
19+
# python -m pip install --upgrade twine
20+
# - name: Set VERSION environment variable
21+
# run: |
22+
# echo GitHub_ref: $GITHUB_REF
23+
# arrTag=(${GITHUB_REF//\// })
24+
# VERSION="${arrTag[2]}"
25+
# echo Version: $VERSION
26+
# VERSION="${VERSION//v}"
27+
# echo Clean Version: $VERSION
28+
# echo "VERSION=${VERSION}" >> $GITHUB_ENV
29+
# - name: Build and publish
30+
# env:
31+
# TWINE_USERNAME: "__token__"
32+
# TWINE_PASSWORD: ${{ secrets.PYPI_ORG_TOKEN }}
33+
# run: |
34+
# python ./build.py

0 commit comments

Comments
 (0)