1919 type : boolean
2020 default : true
2121
22+ permissions : {}
23+
2224concurrency :
2325 group : ${{ github.workflow }}-${{ github.event.release.tag_name || github.event.inputs.release-tag || github.run_id }}
2426 cancel-in-progress : true
@@ -27,21 +29,28 @@ jobs:
2729 call-workflow-conda-release :
2830 name : Publish production Conda package on JFrog Artifactory
2931 if : ${{ github.event_name == 'release' || github.event.inputs.publish-conda == 'true' }}
30- uses : MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main
32+ uses : MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@v2
33+ permissions :
34+ id-token : write
35+ contents : write
3136 with :
32- virtual-repo-names : ' ["geology-noremote-conda-prod", "geophysics -noremote-conda-prod"]'
37+ virtual-repo-names : ' ["public -noremote-conda-prod"]'
3338 release-tag : ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
3439 secrets :
3540 JFROG_ARTIFACTORY_URL : ${{ secrets.JFROG_ARTIFACTORY_URL }}
3641 JFROG_ARTIFACTORY_TOKEN : ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
3742 call-workflow-pypi-release :
38- name : Publish production PyPI package (JFrog Artifactory)
43+ name : Publish production PyPI package (JFrog Artifactory, PyPI )
3944 if : ${{ github.event_name == 'release' || github.event.inputs.publish-pypi == 'true' }}
40- uses : MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@main
45+ uses : MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@v2
46+ permissions :
47+ id-token : write
48+ contents : write
4149 with :
4250 package-name : ' grid-apps'
43- virtual-repo-names : ' ["geology -pypi-prod", "geophysics- pypi-prod "]'
51+ virtual-repo-names : ' ["public -pypi-prod", "pypi"]'
4452 release-tag : ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
4553 secrets :
4654 JFROG_ARTIFACTORY_URL : ${{ secrets.JFROG_ARTIFACTORY_URL }}
4755 JFROG_ARTIFACTORY_TOKEN : ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
56+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
0 commit comments