From 11ed9278d366c02ce89a0aa9c0266d01ed3fe78f Mon Sep 17 00:00:00 2001 From: GP Date: Fri, 21 Apr 2023 10:56:11 +0530 Subject: [PATCH] fix(ci): debug outputs --- .github/workflows/release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06ce9b81..9e92aaf0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest outputs: last-release-version: ${{ steps.last-release.outputs.release }} - new-release-version: ${{ steps.next-release.outputs.new-release-version }} + new-release-version: ${{ format('v{0}', steps.next-release.outputs.new-release-version) }} steps: - name: checkout code uses: actions/checkout@v3 @@ -44,6 +44,16 @@ jobs: echo "Last release version = ${{ steps.last-release.outputs.release }}" echo "Next release version = ${{ steps.next-release.outputs.new-release-version }}" + debug: + name: Debug + runs-on: ubuntu-latest + needs: next-version + steps: + - name: print outputs + run: | + echo "Last release version = ${{ needs.next-version.outputs.last-release-version }}" + echo "Next release version = ${{ needs.next-version.outputs.new-release-version }}" + release: name: Cut a release on GitHub runs-on: ubuntu-latest