Skip to content

Commit

Permalink
fix pypi sovtoken and deb publishing
Browse files Browse the repository at this point in the history
Signed-off-by: pSchlarb <[email protected]>
  • Loading branch information
pSchlarb committed Aug 29, 2022
1 parent f3813f0 commit 743e007
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/Push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}
UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}
REPO_COMPONENT: 'rc'
distribution: $ {{ needs.workflow-setup.outputs.distribution }}
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
SOVRIN_ARTIFACTORY_REPO_CONFIG: ${{ secrets.SOVRIN_ARTIFACTORY_REPO_CONFIG }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publishRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
uses: ./.github/workflows/reuseable_publish.yaml
with:
GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}
distribution: ${{ needs.release-infos.outputs.distribution }}
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
REPO_COMPONENT: ${{ needs.release-infos.outputs.component}}
secrets:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reuseable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
REPO_COMPONENT:
required: true
type: string
distribution:
required: true
type: string
secrets:
SOVRIN_ARTIFACTORY_REPO_CONFIG:
required: true
Expand All @@ -25,7 +28,7 @@ jobs:
- name: Download Python Packages from Pipeline Artifacts
uses: actions/download-artifact@v2
with:
name: ${{ inputs.moduleName }}-python
name: sovtoken-python
path: dist
- name: Publish Python Package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 743e007

Please sign in to comment.