Yatopia/.github/workflows/upstream.yml_off

38 lines
1005 B
Plaintext
Raw Normal View History

2020-03-25 16:12:41 +01:00
name: Tuinity-Upstream
2020-03-25 04:05:38 +01:00
2020-03-25 16:12:41 +01:00
on:
schedule:
- cron: "*/60 */2 * * *"
2020-03-25 04:05:38 +01:00
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1.3.0
with:
java-version: 11
2020-03-26 15:36:44 +01:00
- name: Update Tuinity
2020-03-25 04:05:38 +01:00
run: |
git submodule init
git submodule update --init --recursive
git config --global user.email "ci@github.com"
git config --global user.name "Github CI"
[WIP] Better Patch System (#18) * Update build.yml * Remove 3rd party patches * Add Upsteam Submodules * Fix patches * ? * Fix patches * Add Fast Init script * Lots of stuff also it's broke * more broken * fixes * mor stuff * gfhfgh hg * fix patch * fix up script * update submodule * add papercut * update tuinity * update gitmodules * fix var name * fix more var stuff * some how it's not deleting shit anymore * should now use the branch it just made why are we doing this again? * now it does thing thing * return previous so YAPFA can use it * ok now it really does the thing * for REAL it does the thing * don't do the thing because it causes too many problems * fix api * work * use better patching for YAPFA patches * fix better patching * more fixes * new patches stuff * remove old 3rd parry patches add removed akarin patches * make new branch for making patches * hopefully build patches correctly * fix gitignore and add config patches * remove papercut files * fix some weirdness * fix bug * time to do some fixin' :eyes: * New Patch System Rebased Patches * fix full build * exit 1 * fix * Remove patch * Hopefully fix compile errors * fixes * this might work * don't use rej for our patches * tmp disable cache * some times case sensitivity is dumb * my sanity is at an all time low :) * dfg * readd cahce * fix? * Update Upstream * fix perms * fix * fix api * Redo API * rm folders * fix villager brain patch * emc explosion pref * fixed aikar's shit * betterfix * fix lagggg * Origami * Origami Fixes * Update readme * test async path finding * WIP Async Path Finding * WIP fix async path finding * same as bellow * same * update to newer funcs * fix newer funcs * fix author * Updates, Fixes, and new patches * fixes * possibly async flying path finding * minor asnyc pathfinding fix * test remove non asnyc path finder * WIP make all path finding async * Rename everything * Exec flag * Rebuild hashes * remove dupe patch * fix? * Fix packages, redirect config * old nav class is now async and back * add getchatcolor.getbyid and handle patches with a . in them better Co-authored-by: tr7zw <tr7zw@live.de> Co-authored-by: Unknown <unknown@example.com> Co-authored-by: Ovydux <68059159+Ovydux@users.noreply.github.com>
2020-08-03 18:48:42 +02:00
yatopiaDir=`pwd`
2020-03-25 04:05:38 +01:00
cd Tuinity
2020-03-25 04:23:27 +01:00
pwd
git status
2020-03-25 04:05:38 +01:00
git fetch
2020-03-25 15:52:10 +01:00
git reset --hard origin
2020-03-25 04:05:38 +01:00
cd ..
2020-03-25 15:56:40 +01:00
git add $(git rev-parse --show-toplevel)
git commit -m "Update upstream"
2020-03-25 04:05:38 +01:00
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
2020-03-25 16:04:08 +01:00
commit-message: Update Upstream
title: '[Automated] Tuinity updates'
body: 'Fetch Upstream from https://github.com/Spottedleaf/Tuinity'