Trying to pass variables between steps using outputs #50

Merged
hitanshu merged 1 commits from hitanshu/CFTunnels:tags into test 2025-06-10 16:11:28 +00:00
Showing only changes of commit 8720810c46 - Show all commits

View File

@ -34,7 +34,8 @@ jobs:
- name: Increment version
id: calc_new_tag
run: |
echo "NEW_PATCH=$((${{ steps.get_id.outputs.PATCH }} + 1))" >> $GITEA_OUTPUT
echo "${{ steps.get_id.outputs.PATCH }}"
echo "NEW_PATCH=$(( ${{ steps.get_id.outputs.PATCH }} + 1))" >> $GITEA_OUTPUT
echo "NEW_VERSION=$( ${{ steps.get_id.outputs.MAJOR }}.${{ steps.get_id.outputs.MINOR }}.${NEW_PATCH})" >> $GITEA_OUTPUT
- name: Create and push tag
run: |