This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
[CI] TEMP! made release workflow run on push #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'PyPI Release: Production (pinecone-client)' | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
releaseLevel: | ||
description: 'Release level' | ||
required: true | ||
type: choice | ||
default: 'patch' | ||
options: | ||
- 'patch' # bug fixes | ||
- 'minor' # new features, backwards compatible | ||
- 'major' # breaking changes | ||
generateBranch: | ||
description: 'Whether to generate a release branch' | ||
required: true | ||
type: boolean | ||
default: false | ||
generateTag: | ||
description: 'Whether to generate a release tag' | ||
required: true | ||
type: boolean | ||
default: true | ||
push: | ||
env: | ||
PYPI_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} | ||
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} | ||
jobs: | ||
build: | ||
uses: ./github/workflows/pre-release-CI.yml | ||
publish: | ||
requires: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: download wheels | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: wheels | ||
- name: debug print wheels | ||
run: | | ||
ls -lah wheels/ |