Skip to content

Commit

Permalink
.github/workflows/publish_release.yml : Run publishing job from main …
Browse files Browse the repository at this point in the history
…(non-reusable) workflow. Remove the two reusable workflows _publish_package.yml and _publish_package_test.yml.
  • Loading branch information
ClaasRostock committed Nov 14, 2024
1 parent 8ac071b commit a0db8b5
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 a0db8b5

Please sign in to comment.