From 998ea68d3b6ffcd1884ffbb80a868a6aa897ae63 Mon Sep 17 00:00:00 2001 From: "i.o.novikov" Date: Fri, 6 May 2022 15:18:03 +0300 Subject: [PATCH] workaround https://github.com/actions-ecosystem/action-push-tag/issues/10 --- .github/workflows/android_lib.publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android_lib.publish.yml b/.github/workflows/android_lib.publish.yml index 54a6cc4..bb46cc7 100644 --- a/.github/workflows/android_lib.publish.yml +++ b/.github/workflows/android_lib.publish.yml @@ -68,9 +68,13 @@ jobs: fi - name: Push tag - uses: actions-ecosystem/action-push-tag@v1 - with: - tag: ${{ steps.version.outputs.tag_name }} + run: | + tag=${{ steps.version.outputs.tag_name }} + message='${{ steps.version.outputs.tag_name }}' + git config user.name "${GITHUB_ACTOR}" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + git tag -a "${tag}" -m "${message}" + git push origin "${tag}" - name: Create Release ✅ id: create_release