From d862bd89b552d87a9029561cc152bc1b2a076e81 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 3 Feb 2025 11:01:05 +0900 Subject: [PATCH] WORKFLOW: changing push action [skip ci] --- .github/workflows/flathub_push_main.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/flathub_push_main.yml b/.github/workflows/flathub_push_main.yml index 9a8765c6..20cd7a41 100644 --- a/.github/workflows/flathub_push_main.yml +++ b/.github/workflows/flathub_push_main.yml @@ -23,13 +23,15 @@ jobs: GIT_MAIL: ${{ secrets.GITMAIL }} - name: Commit and push changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: EndBug/add-and-commit@v9 with: - commit_message: "Updated flathub/net.retrodeck.retrodeck to v${{ env.RELNAME }} from RetroDECK/${{ env.RD_BRANCH }}" - branch: "${{ env.RD_BRANCH }}" - repository: "${{ env.TARGET_REPO }}" - push_options: '--force' - commit_user_email: ${{ secrets.GITMAIL }} - commit_user_name: ${{ secrets.GITNAME }} + message: "Updated flathub/net.retrodeck.retrodeck to v${{ env.RELNAME }} from RetroDECK/${{ env.RD_BRANCH }}" + new_branch: "${{ env.RD_BRANCH }}" + cwd: "${{ env.FOLDER_TO_PUSH }}" + push: 'origin ${{ env.TARGET_REPO }} --force' + author_email: ${{ secrets.GITMAIL }} + committer_email: ${{ secrets.GITNAME }} create_branch: true - file_pattern: "${{ env.FOLDER_TO_PUSH }}/*" + add: "*" + tag: "v${{ env.RD_BRANCH }}" + tag_push: '--force' \ No newline at end of file