From 85af615bb9e14b0affff46b03555752310138074 Mon Sep 17 00:00:00 2001 From: Shiny Brar Date: Wed, 20 Nov 2024 15:50:37 -0800 Subject: [PATCH] fix(gha): release action debug --- .github/workflows/cd.release.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cd.release.yml b/.github/workflows/cd.release.yml index 04e3e00d..bb8551f4 100644 --- a/.github/workflows/cd.release.yml +++ b/.github/workflows/cd.release.yml @@ -35,18 +35,19 @@ jobs: repository: opencadc/science-platform event-type: edge-build token: ${{ secrets.GITHUB_TOKEN }} - client-payload: |- - { - "releases_created": "${{ steps.release-please.outputs.release_created }}", - "tag_name": "${{ steps.release-please.outputs.tag_name }}", - "sha": "${{ steps.release-please.outputs.sha }}" - } - name: Dispatch Skaha Release Build # Run this step only if the release-please completes successfully if: ${{ steps.release-please.outputs.release_created == 'true' }} run: | echo "Release Build currently Disabled" + echo "Releases Created: ${{ steps.release-please.outputs.release_created }}" + echo "tag: ${{ steps.release-please.outputs.tag_name }}" + echo "sha: ${{ steps.release-please.outputs.sha }}" + echo "major: ${{ steps.release-please.outputs.major }}" + echo "minor: ${{ steps.release-please.outputs.minor }}" + echo "patch: ${{ steps.release-please.outputs.patch }}" + # uses: peter-evans/repository-dispatch@v3.0.0 # with: # repository: opencadc/science-platform @@ -58,11 +59,3 @@ jobs: # "tag_name": "${{ steps.release-please.outputs.tag_name }}", # "sha": "${{ steps.release-please.outputs.sha }}" # } - release-debug: - runs-on: ubuntu-latest - needs: release-please - steps: - - env: - RELEASE_PLEASE_OUTPUT: ${{ needs.release-please.outputs.release-please-output }} - run: | - echo "Release Please Output: $RELEASE_PLEASE_OUTPUT" \ No newline at end of file