diff --git a/.github/workflows/branch-release.yml b/.github/workflows/branch-release.yml index faf899e2e3..276e0caec8 100644 --- a/.github/workflows/branch-release.yml +++ b/.github/workflows/branch-release.yml @@ -46,6 +46,7 @@ jobs: GIT_BRANCH: ${{ steps.set_vars.outputs.GIT_BRANCH }} RELEASE_BRANCH_PATTERN: ${{ steps.set_vars.outputs.RELEASE_BRANCH_PATTERN }} RELEASE_TAG: ${{ steps.set_vars.outputs.RELEASE_TAG }} + GIT_BRANCH_UNFORMATTED: ${{ steps.branch-name.outputs.current_branch }} steps: - name: Get branch name id: branch-name @@ -114,9 +115,19 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} env: pr-${{ github.event.number }} + generate-types: + name: Generate types + needs: [ init, build-and-test ] + uses: ./.github/workflows/reusable-generate-types.yml + secrets: inherit + with: + branch: ${{ needs.init.outputs.GIT_BRANCH_UNFORMATTED }} + parachainDocker: ${{ github.event.inputs.parachainDocker }} + globalVersion: ${{ needs.init.outputs.GLOBAL_VERSION }} + run-e2e-test: name: Run e2e tests - needs: [init, validate-branch-name, build-and-test] + needs: [init, validate-branch-name, build-and-test, generate-types] uses: ./.github/workflows/reusable-e2e-tests.yml secrets: inherit permissions: