Skip to content

Commit

Permalink
More updates/bug fixes (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluedenim authored Aug 21, 2023
1 parent 88bf2bd commit 0c3be3b
Showing 1 changed file with 15 additions and 4 deletions.
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

0 comments on commit 0c3be3b

Please sign in to comment.