Skip to content

Commit

Permalink
Merge pull request #49 from dnv-opensource/48-update-github-workflow-…
Browse files Browse the repository at this point in the history
…publish_release

Updated GitHub workflow publish_release
  • Loading branch information
minhemdnv authored Nov 15, 2024
2 parents 8ac071b + a0db8b5 commit cd5bbe4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 41 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/_publish_package.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/_publish_package_test.yml

This file was deleted.

18 changes: 13 additions & 5 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ jobs:
build_package:
uses: ./.github/workflows/_build_package.yml
publish_package:
name: Publish package
needs:
- build_package
uses: ./.github/workflows/_publish_package.yml
# publish_package_test:
# needs:
# - build_package
# uses: ./.github/workflows/_publish_package_test.yml
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
# with: # Uncomment this line to publish to testpypi
# repository-url: https://test.pypi.org/legacy/ # Uncomment this line to publish to testpypi
merge_into_release:
uses: ./.github/workflows/_merge_into_release.yml
secrets:
Expand Down

0 comments on commit cd5bbe4

Please sign in to comment.