From 0cbc367884f3c737f04a40fdfdedffdd37745f3c Mon Sep 17 00:00:00 2001 From: LittleChest <81231195+LittleChest@users.noreply.github.com> Date: Sat, 17 Feb 2024 23:21:29 +0800 Subject: [PATCH] [release-skip] Organize the workflow (#182) * fix: Missing to add * fix: Remove pull request trigger --- .github/workflows/leaves.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/leaves.yml b/.github/workflows/leaves.yml index 78cf901e..b2c630e7 100644 --- a/.github/workflows/leaves.yml +++ b/.github/workflows/leaves.yml @@ -1,18 +1,8 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - name: Leaves CI on: push: branches: [ master ] - pull_request: - types: [ closed ] - branches: [ master ] workflow_dispatch: jobs: @@ -62,6 +52,7 @@ jobs: git clone git@github.com:LeavesMC/Configuration.git configuration -b Leaves cp run/leaves.yml configuration/leaves.yml -f cd configuration + git add leaves.yml git commit leaves.yml -m "https://github.com/LeavesMC/Leaves/commit/$(cd .. && git rev-parse HEAD)" git push origin HEAD:Leaves - name: Get Release Info