diff --git a/.github/workflows/notify-integration-release-via-manual.yaml b/.github/workflows/notify-integration-release-via-manual.yaml index 62b1940..3e6b933 100644 --- a/.github/workflows/notify-integration-release-via-manual.yaml +++ b/.github/workflows/notify-integration-release-via-manual.yaml @@ -20,10 +20,15 @@ jobs: uses: actions/checkout@v6 with: ref: ${{ github.event.inputs.branch }} + # Ensure that Docs are Compiled - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + - shell: bash run: make generate + - shell: bash run: | if [[ -z "$(git status -s)" ]]; then diff --git a/.github/workflows/notify-integration-release-via-tag.yaml b/.github/workflows/notify-integration-release-via-tag.yaml index e7c003b..b975b41 100644 --- a/.github/workflows/notify-integration-release-via-tag.yaml +++ b/.github/workflows/notify-integration-release-via-tag.yaml @@ -24,10 +24,15 @@ jobs: uses: actions/checkout@v6 with: ref: ${{ github.ref }} + # Ensure that Docs are Compiled - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + - shell: bash run: make generate + - shell: bash run: | if [[ -z "$(git status -s)" ]]; then @@ -37,12 +42,14 @@ jobs: echo "Run 'make generate', and commit the result to resolve this error." exit 1 fi + # Perform the Release - name: Checkout integration-release-action uses: actions/checkout@v6 with: repository: hashicorp/integration-release-action path: ./integration-release-action + - name: Notify Release uses: ./integration-release-action with: