mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
[release-skip] Organize the workflow (#182)
* fix: Missing to add * fix: Remove pull request trigger
This commit is contained in:
11
.github/workflows/leaves.yml
vendored
11
.github/workflows/leaves.yml
vendored
@@ -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
|
name: Leaves CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
pull_request:
|
|
||||||
types: [ closed ]
|
|
||||||
branches: [ master ]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -62,6 +52,7 @@ jobs:
|
|||||||
git clone git@github.com:LeavesMC/Configuration.git configuration -b Leaves
|
git clone git@github.com:LeavesMC/Configuration.git configuration -b Leaves
|
||||||
cp run/leaves.yml configuration/leaves.yml -f
|
cp run/leaves.yml configuration/leaves.yml -f
|
||||||
cd configuration
|
cd configuration
|
||||||
|
git add leaves.yml
|
||||||
git commit leaves.yml -m "https://github.com/LeavesMC/Leaves/commit/$(cd .. && git rev-parse HEAD)"
|
git commit leaves.yml -m "https://github.com/LeavesMC/Leaves/commit/$(cd .. && git rev-parse HEAD)"
|
||||||
git push origin HEAD:Leaves
|
git push origin HEAD:Leaves
|
||||||
- name: Get Release Info
|
- name: Get Release Info
|
||||||
|
|||||||
Reference in New Issue
Block a user