File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
actions/python-pypi-publish-action Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ inputs:
1111 description : " Mandatory environment, e.g. development, production"
1212 type : string
1313 required : false
14- default : " test "
14+ default : " production "
1515 BUILD_TAG :
1616 description : " Semantic tag for this release/build"
1717 type : string
@@ -230,12 +230,13 @@ runs:
230230 run : |
231231 # Print summary/job output
232232 if [ "${{ steps.conditions.outputs.publish_method }}" = "Skipped" ]; then
233- echo "# Publishing skipped due to existing content ⛔️" >> "$GITHUB_STEP_SUMMARY"
233+ echo "### Publishing skipped due to existing content ⛔️" >> "$GITHUB_STEP_SUMMARY"
234234 exit 0
235235 elif [ ${{ env.base_url }} != "https://pypi.org" ]; then
236- echo "# ✅ Published successfully to ${{ env.base_url }} " >> "$GITHUB_STEP_SUMMARY"
236+ echo "# Test Release: PyPI " >> "$GITHUB_STEP_SUMMARY"
237237 else
238- echo "# 🚀 Published Python package to PyPI" >> "$GITHUB_STEP_SUMMARY"
238+ echo "# 🚀 Release: PyPI" >> "$GITHUB_STEP_SUMMARY"
239239 fi
240- echo "Publishing method: ${{ steps.conditions.outputs.publish_method }}"
241- echo "${{ env.BASE_URL }}project/${{ steps.naming.outputs.python_project_name }}/${{ inputs.build_tag }}/" >> "$GITHUB_STEP_SUMMARY"
240+ echo "Method: ${{ steps.conditions.outputs.publish_method }}"
241+ echo "Method: ${{ steps.conditions.outputs.publish_method }}" >> "$GITHUB_STEP_SUMMARY"
242+ echo "🔗 ${{ env.base_url }}/project/${{ steps.naming.outputs.python_project_name }}/${{ inputs.build_tag }}/" >> "$GITHUB_STEP_SUMMARY"
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ jobs:
114114 steps :
115115 - name : " Test Package Publishing"
116116 # yamllint disable-line rule:line-length
117- uses : os-climate/osc-github-devops/.github/actions/python-pypi-publish-action@main
117+ uses : ./.github/actions/python-pypi-publish-action
118+ # Temporarily disabled to test using local action
119+ # uses: os-climate/osc-github-devops/.github/actions/python-pypi-publish-action@main
118120 env :
119121 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
120122 with :
@@ -180,7 +182,9 @@ jobs:
180182 steps :
181183 - name : " Release to PyPI"
182184 # yamllint disable-line rule:line-length
183- uses : os-climate/osc-github-devops/.github/actions/python-pypi-publish-action@main
185+ uses : ./.github/actions/python-pypi-publish-action
186+ # Temporarily disabled to test using local action
187+ # uses: os-climate/osc-github-devops/.github/actions/python-pypi-publish-action@main
184188 env :
185189 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
186190 with :
You can’t perform that action at this time.
0 commit comments