Skip to content

Commit

Permalink
fix: release other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tibnor committed Feb 14, 2024
1 parent a907936 commit 82112d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
releases: ${{ steps.release.outputs }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
Expand Down Expand Up @@ -49,5 +51,12 @@ jobs:
if: ${{ steps.release.outputs.ship_performance_service_interface--release_created }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: ship_performance_service_interface/dist
publish:
needs: release-please
runs-on: ubuntu-latest
steps:
- name: Print the output
run: echo "The time was $ALLOUTPUT"
env:
ALLOUTPUT: ${{ toJSON(job.release-please.outputs.releases) }}
2 changes: 1 addition & 1 deletion operation_profile_lib/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ user = {user}
### Inferred From Other Values ###
doc_host = https://%(user)s.github.io
doc_baseurl = /%(lib_name)s/
git_url = https://github.com/%(user)s/%(repo)s/
git_url = https://github.com/SINTEF/shipdesignlab
lib_path = %(lib_name)s
title = %(lib_name)s
4 changes: 2 additions & 2 deletions ship_model_lib/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ tst_flags = notest

### Documentation ###
host = github
repo = https://SintefOceanEnergySystem@dev.azure.com/SintefOceanEnergySystem/DesignLab/_git/ship_model_lib
branch = master
repo = https://github.com/SINTEF/shipdesignlab
branch = main
custom_sidebar = False

### PyPI ###
Expand Down
2 changes: 1 addition & 1 deletion ship_performance_service_interface/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

setup(
packages=["ship_performance_service_interface_lib"],
)
)

0 comments on commit 82112d8

Please sign in to comment.