Skip to content

Commit

Permalink
fix(ci): debug outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati authored Apr 21, 2023
1 parent 17bf165 commit 11ed927
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 11ed927

Please sign in to comment.