Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solving the test.pypi release issue #96 #97

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/python-pypi-test.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
ame: Deploy to Test PyPi
name: Deploy to Test PyPi

on:
on:
push:
branches:
- development
- main

pull_request:
branches:
- development
- main
jobs:
build_and_deploy:
name: Build the release and deploy to test pypi
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -27,11 +32,11 @@ jobs:
- name: test install package
run: |
pip install -e .
- name: Publish distribution 📦 to Test PyPI
- name: Publish distribution 📦 to TestPyPI

uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
skip-existing: true
verbose: true
password: ${{ secrets.SHAFT_PYPI_TEST }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.RAMP_TEST}}
repository-url: https://test.pypi.org/legacy/
Loading