diff --git a/.github/workflows/update-info.yml b/.github/workflows/post-merge.yml similarity index 88% rename from .github/workflows/update-info.yml rename to .github/workflows/post-merge.yml index 50734b6..1403f58 100644 --- a/.github/workflows/update-info.yml +++ b/.github/workflows/post-merge.yml @@ -1,4 +1,4 @@ -name: Write Info to File +name: 'Post Merge' on: push: branches: @@ -50,7 +50,13 @@ jobs: git push "https://$GITHUB_ACTOR@github.com/$GITHUB_REPOSITORY" env: VERSION: ${{ env.nextVersion }} + create-tag: + name: 'Create Tag' + needs: write-info + runs-on: ubuntu-latest + steps: + - name: 'Checkout Source Code' + uses: actions/checkout@v3 - uses: rickstaa/action-create-tag@v1.6.1 - id: "tag_create" with: - tag: ${{ env.nextVersion }} + tag: ${{ env.currentVersion }}