diff --git a/.github/workflows/TeamWin-TWRP.yml b/.github/workflows/TeamWin-TWRP.yml index 9232905..8e815af 100644 --- a/.github/workflows/TeamWin-TWRP.yml +++ b/.github/workflows/TeamWin-TWRP.yml @@ -108,8 +108,8 @@ jobs: run: | mkdir android-recovery cd android-recovery - git config --global user.name "lazycodebuilder" - git config --global user.email "154446636+lazycodebuilder@users.noreply.github.com" + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" repo init --depth=1 -u ${{ env.MANIFEST }} -b ${{ inputs.MANIFEST_BRANCH }} - name: Repo Sync @@ -184,6 +184,7 @@ jobs: echo "BUILD_DATE=$(date +%Y%m%d)" >> $GITHUB_ENV - name: Upload to Release + if: success() uses: softprops/action-gh-release@master with: files: |