From 8d1b1bfd83ae838ab526182aff49a315b1041273 Mon Sep 17 00:00:00 2001 From: Jasper Alani Date: Tue, 9 Jan 2024 03:50:41 +0000 Subject: [PATCH] dev: adds auto commit --- .github/workflows/push.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 912c0ac..a54a0c2 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -65,13 +65,14 @@ jobs: chmod +x ./update_version.sh ./update_version.sh - name: Commit changes - run: | - git config --local user.email ${{ github.actor }}@users.noreply.github.com - git config --local user.name ${{ github.actor }} - git add ./build.gradle - git add ./src/main/resources/META-INF/mods.toml - git commit -m "update version to ${{ needs.tag_and_release.outputs.new_tag }}" - git push origin main --force + uses: stefanzweifel/git-auto-commit-action@v5 +# run: | +# git config --local user.email ${{ github.actor }}@users.noreply.github.com +# git config --local user.name ${{ github.actor }} +# git add ./build.gradle +# git add ./src/main/resources/META-INF/mods.toml +# git commit -m "update version to ${{ needs.tag_and_release.outputs.new_tag }}" +# git push origin main --force build_and_release_on_modrinth_and_curseforge: needs: [tag_and_release, tests] name: Build and release ${{ matrix.platform }}