Skip to content

Commit

Permalink
adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
antipovi-draeger committed Nov 24, 2022
1 parent 661e24a commit 7479957
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
retention-days: 1
deploy-pypi-packages:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
needs: run-tests-python
permissions:
contents: write
Expand All @@ -94,12 +95,21 @@ jobs:
with:
name: html_unit_test
path: unittest_results/
- name: Download freeze artifact
uses: actions/download-artifact@v3
with:
name: freeze
path: freeze/
# - name: Publish t2iapi to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Attach artifacts to github release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.whl
pip_freeze.txt
freeze/pip-freeze.txt
unittest_results/*.html
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') }}
2 changes: 1 addition & 1 deletion java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Draegerwerk/t2iapi")
url = uri("https://maven.pkg.github.com/antipovi/t2iapi")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
Expand Down

0 comments on commit 7479957

Please sign in to comment.