From 0808d123d8cdcd84fec5778e094b9508d6b7e2a2 Mon Sep 17 00:00:00 2001 From: Jordan Haven Date: Mon, 7 Oct 2024 13:38:02 -0400 Subject: [PATCH] Fix version mismatch in docs workflow; Config git when creating the tag; looks like the maven publish step failure was a fluke on their end (big surprise) --- .github/workflows/autopublish.yml | 2 ++ .github/workflows/versionedDocs.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autopublish.yml b/.github/workflows/autopublish.yml index 34887f0f4..49193a4b4 100644 --- a/.github/workflows/autopublish.yml +++ b/.github/workflows/autopublish.yml @@ -62,6 +62,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + git config --local user.name "CI" + git config --local user.email "ci@stytch.com" git tag -a "${{needs.check.outputs.this_version}}" -m "${{needs.check.outputs.this_version}}" git push --follow-tags - name: Create Release diff --git a/.github/workflows/versionedDocs.yml b/.github/workflows/versionedDocs.yml index 499b785f5..f141b72f3 100644 --- a/.github/workflows/versionedDocs.yml +++ b/.github/workflows/versionedDocs.yml @@ -41,7 +41,7 @@ jobs: cd main/docs zip -r ../../Docs.zip . cd - - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "main" path: Docs.zip