Skip to content

Commit

Permalink
Merge pull request #90 from cta-observatory/update_deploy_workflow
Browse files Browse the repository at this point in the history
Update deploy workflow.
  • Loading branch information
aleberti authored Feb 13, 2024
2 parents e378a2e + eb626c3 commit 95ef4b2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# make sure we have version info
- run: git fetch --tags

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies
run: |
python --version
pip install -U pip setuptools wheel setuptools_scm[toml]
python setup.py sdist bdist_wheel
pip install -U build
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 95ef4b2

Please sign in to comment.