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

More updates/bug fixes #19

Merged
merged 1 commit into from
Aug 21, 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: 15 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,30 @@ jobs:
run: poetry install
- name: Build
run: poetry build

- name: Upload dists
uses: actions/upload-artifact@v3
with:
name: artifacts
path: ./dist/
retention-days: 2
if-no-files-found: error
publish:
name: Test publishing to test.pypi.org
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/v')
needs:
- build
environment:
name: testpypi
url: https://test.pypi.org/project/vmigration-helper/
steps:
- uses: actions/download-artifact@v3
- name: Download dists
uses: actions/download-artifact@v3
with:
name: artifact
name: python-package-distributions
path: ./dist/
- uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
user: __token__
Expand Down