Trying to pass variables between steps using outputs #49
@ -35,7 +35,7 @@ jobs:
|
||||
id: calc_new_tag
|
||||
run: |
|
||||
echo "NEW_PATCH=$((${{ steps.get_id.outputs.PATCH }} + 1))" >> $GITEA_OUTPUT
|
||||
echo "NEW_VERSION=$( ${{ steps.get_id.outputs.MAJOR }}.${{ steps.get_id.outputs.MINOR }}.${{ steps.get_id.outputs.NEW_PATCH }})" >> $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: |
|
||||
git tag -a ${{ steps.calc_new_tag.outputs.NEW_VERSION }} -m "Pushing new version ${{ steps.calc_new_tag.outputs.NEW_VERSION }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user