Skip to content

Commit

Permalink
fix: temporary disable auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
Agus Makmun committed Mar 29, 2024
1 parent ad2fe8f commit a4b1898
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
name: Release and PyPI Upload

on:
push:
tags:
- '*'

jobs:
# release:
# runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20

# - name: Semantic Release
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# run: npx semantic-release

upload-to-pypi:
# needs: release
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install twine
- name: Build and upload to PyPI
run: |
python setup.py sdist
twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
# name: Release and PyPI Upload

# on:
# push:
# tags:
# - '*'

# jobs:
# release:
# runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20

# - name: Semantic Release
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# run: npx semantic-release

# upload-to-pypi:
# needs: release
# runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Setup Python
# uses: actions/setup-python@v2
# with:
# python-version: 3.8

# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install twine

# - name: Build and upload to PyPI
# run: |
# python setup.py sdist
# twine upload dist/*
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 comments on commit a4b1898

Please sign in to comment.