Skip to content

Commit

Permalink
Merge pull request #44 from chklovski/CheckM2_dev
Browse files Browse the repository at this point in the history
CheckM2 dev
  • Loading branch information
chklovski authored Jan 22, 2023
2 parents 3257578 + efb261d commit face103
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publishpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
tests:
uses: ./.github/workflows/test_checkm2.yml
publish:
name: publish
needs: [tests] # require tests to pass before deploy runs
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Build package
run: |
python -m pip install -U pip build
python -m build
- name: Publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit face103

Please sign in to comment.