Skip to content

Commit eee61cb

Browse files
committed
Update package_release.yml
1 parent 8cfdf73 commit eee61cb

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/package_release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
uses: ./.github/workflows/tests.yml
2828
with:
2929
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 }}"
30-
# publish-pypi:
31-
# needs: test-test-pypi
32-
# uses: ./.github/workflows/pypi.yml
33-
# with:
34-
# repository_url: https://upload.pypi.org/legacy/
35-
# secrets:
36-
# API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
37-
# test-pypi:
38-
# needs: [release-version, publish-pypi]
39-
# uses: ./.github/workflows/tests.yml
40-
# with:
41-
# install_command: "python3 -m pip install academic_tracker==${{ needs.release-version.outputs.version }}"
42-
# publish-documentation:
43-
# needs: test-pypi
44-
# uses: ./.github/workflows/documentation.yml
30+
publish-pypi:
31+
needs: test-test-pypi
32+
uses: ./.github/workflows/pypi.yml
33+
with:
34+
repository_url: https://upload.pypi.org/legacy/
35+
secrets:
36+
API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
37+
test-pypi:
38+
needs: [release-version, publish-pypi]
39+
uses: ./.github/workflows/tests.yml
40+
with:
41+
install_command: "python3 -m pip install academic_tracker==${{ needs.release-version.outputs.version }}"
42+
publish-documentation:
43+
needs: test-pypi
44+
uses: ./.github/workflows/documentation.yml

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ README_old.rst
1616
testing_scratch/
1717
tests/testing_files/new_intermediate_results/
1818
src/academic_tracker/_version.py
19+
setup_old.py

0 commit comments

Comments
 (0)