Skip to content

Commit

Permalink
chore: Refactor release.yaml workflow and add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
AEnguerrand committed Aug 27, 2024
1 parent fd2491f commit da540bd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ jobs:
echo "${{ steps.release.outputs.tag_name }}"
echo "${{ steps.release.outputs.paths_released }}"
echo "${{ steps.release.outputs.paths_released[0] }}"
echo "${{ steps.release.outputs.paths_released[0] }}-minor"
echo "${{ steps.release.outputs.paths_released[0] }}-major"
echo "${{ steps.release.outputs.paths_released[0] }}-tagname"
path_release="${{ steps.release.outputs.paths_released[0] }}"
path_clean=$(echo $paths_released | jq -r '.[0]')
echo $path_clean
tag_name_key="${path_clean}--tag_name"
tag_name=$(eval echo "\${{ steps.previous_step.outputs.$tag_name_key }}")
echo "tag_name"
- name: "[Release] Checkout code"
if: ${{ steps.release.outputs.releases_created }}
uses: actions/checkout@v4
Expand Down

0 comments on commit da540bd

Please sign in to comment.