From 318c3704e81af6a8ea41f12c033c960f0c3af39c Mon Sep 17 00:00:00 2001 From: corey Date: Sun, 10 Dec 2023 15:11:42 -0600 Subject: [PATCH] WiP: Debug publishing --- .github/workflows/publish.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 17fecc0b..2ceec82f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -226,6 +226,7 @@ jobs: run: ls -al ./om_wheels - name: Push To PyPi Test Server + if: ${{ github.event.inputs.origen_metal_python_package == 'true' }} uses: pypa/gh-action-pypi-publish@v1.8.10 with: packages-dir: om_wheels @@ -244,6 +245,7 @@ jobs: run: ls -al ./origen_wheels - name: Push To PyPi Test Server + if: ${{ github.event.inputs.origen_python_package == 'true' }} uses: pypa/gh-action-pypi-publish@v1.8.10 with: packages-dir: origen_wheels @@ -312,14 +314,14 @@ jobs: - name: Display Tag run: echo ${{ env.tag }} - # - name: Generate Github Release - # uses: ncipollo/release-action@v1 - # with: - # artifacts: ./om_wheels.zip, ./origen_wheels.zip - # artifactErrorsFailBuild: true - # prerelease: ${{ github.event.inputs.prerelease == 'true' }} - # commit: ${{ github.sha }} - # tag: ${{ env.tag }} + - name: Generate Github Release + uses: ncipollo/release-action@v1 + with: + artifacts: ./om_wheels.zip, ./origen_wheels.zip + artifactErrorsFailBuild: true + prerelease: ${{ github.event.inputs.prerelease == 'true' }} + commit: ${{ github.sha }} + tag: ${{ env.tag }} cleanup: needs: [build, puublish_to_pypi_test, release] runs-on: ubuntu-latest