From 117efb595047162be7e4bb6e5082de87cd28426e Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Tue, 30 Apr 2024 16:22:23 +0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a28bb782b..6578da243 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,8 @@ run-name: "Build #${{ github.run_number }}" on: push: - branches: - - 'main' + tags: + - "*.*.*" concurrency: group: ${{ github.ref }} @@ -109,8 +109,9 @@ jobs: run: | git submodule init cd mods - git config user.name Xikaro - git config password ${{ secrets.USER_TOKEN_XIKARO }} + git config --global credential.helper '!f() { + echo "username=Xikaro"; + echo "password=${{ secrets.USER_TOKEN_XIKARO }}"; }; f' git submodule update --recursive - name: Export MMC @@ -145,8 +146,9 @@ jobs: run: | git submodule init cd mods - git config user.name Xikaro - git config password ${{ secrets.USER_TOKEN_XIKARO }} + git config --global credential.helper '!f() { + echo "username=Xikaro"; + echo "password=${{ secrets.USER_TOKEN_XIKARO }}"; }; f' git submodule update --recursive - name: Replace strings