Skip to content

Commit 0608e30

Browse files
author
sangeet-joy_xero
committed
testing
1 parent a269212 commit 0608e30

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/publish.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,40 @@ jobs:
2323
repository: XeroAPI/xero-python
2424
path: xero-python
2525

26-
- name: Set up Python environment
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: '3.8'
30-
cache: 'pip'
26+
# - name: Set up Python environment
27+
# uses: actions/setup-python@v5
28+
# with:
29+
# python-version: '3.8'
30+
# cache: 'pip'
3131

32-
- name: Install dependencies
33-
run: |
34-
python -m venv venv
35-
source venv/bin/activate
36-
pip install --upgrade pip
37-
sudo pip install twine
38-
working-directory: xero-python
32+
# - name: Install dependencies
33+
# run: |
34+
# python -m venv venv
35+
# source venv/bin/activate
36+
# pip install --upgrade pip
37+
# sudo pip install twine
38+
# working-directory: xero-python
3939

40-
- name: Fetch Latest release number
41-
id: get_latest_release_number
42-
run: |
43-
latest_version=$(gh release view --json tagName --jq '.tagName')
44-
echo "Latest release version is - $latest_version"
45-
echo "::set-output name=release_tag::$latest_version"
46-
working-directory: xero-python
47-
env:
48-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
40+
# - name: Fetch Latest release number
41+
# id: get_latest_release_number
42+
# run: |
43+
# latest_version=$(gh release view --json tagName --jq '.tagName')
44+
# echo "Latest release version is - $latest_version"
45+
# echo "::set-output name=release_tag::$latest_version"
46+
# working-directory: xero-python
47+
# env:
48+
# GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
4949

50-
- name: Build Package
51-
run: python setup.py sdist
52-
working-directory: xero-python
50+
# - name: Build Package
51+
# run: python setup.py sdist
52+
# working-directory: xero-python
5353

54-
- name: Publish to PyPi
55-
env:
56-
TWINE_USERNAME: __token__
57-
TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }}
58-
run: twine upload dist/*
59-
working-directory: xero-python
54+
# - name: Publish to PyPi
55+
# env:
56+
# TWINE_USERNAME: __token__
57+
# TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }}
58+
# run: twine upload dist/*
59+
# working-directory: xero-python
6060

6161
notify-slack-on-success:
6262
runs-on: ubuntu-latest
@@ -154,7 +154,7 @@ jobs:
154154
"deployer": "xero-codegen-bot",
155155
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
156156
"environment": "test",
157-
"sdk_type": "node",
157+
"sdk_type": "python",
158158
"cab_key": "${{ github.event.inputs.cab_id }}"
159159
}
160160
}'

0 commit comments

Comments
 (0)