Skip to content

Commit

Permalink
Update package_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ptth222 committed Sep 4, 2024
1 parent 8cfdf73 commit eee61cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/package_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
install_command: "python3 -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple academic_tracker==${{ needs.release-version.outputs.version }}"
# publish-pypi:
# needs: test-test-pypi
# uses: ./.github/workflows/pypi.yml
# with:
# repository_url: https://upload.pypi.org/legacy/
# secrets:
# API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
# test-pypi:
# needs: [release-version, publish-pypi]
# uses: ./.github/workflows/tests.yml
# with:
# install_command: "python3 -m pip install academic_tracker==${{ needs.release-version.outputs.version }}"
# publish-documentation:
# needs: test-pypi
# uses: ./.github/workflows/documentation.yml
publish-pypi:
needs: test-test-pypi
uses: ./.github/workflows/pypi.yml
with:
repository_url: https://upload.pypi.org/legacy/
secrets:
API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
test-pypi:
needs: [release-version, publish-pypi]
uses: ./.github/workflows/tests.yml
with:
install_command: "python3 -m pip install academic_tracker==${{ needs.release-version.outputs.version }}"
publish-documentation:
needs: test-pypi
uses: ./.github/workflows/documentation.yml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ README_old.rst
testing_scratch/
tests/testing_files/new_intermediate_results/
src/academic_tracker/_version.py
setup_old.py

0 comments on commit eee61cb

Please sign in to comment.