Skip to content

Commit

Permalink
Add maunal run to check scheduled workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanwer committed Dec 26, 2023
1 parent 8e7934c commit 4236de7
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 440 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/gradle.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 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://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle
name: Build

on:
push:
Expand All @@ -23,11 +23,14 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
Expand Down
89 changes: 0 additions & 89 deletions .github/workflows/pullrequest.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Sync with Upstream
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
sync:
Expand Down Expand Up @@ -32,12 +33,6 @@ jobs:
exit 1
}
- name: Apply patches
run: |
for patch in Geyser/patches/*.patch; do
git apply "$patch"
done
- name: Push changes
uses: ad-m/github-push-action@master
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public PacketSignal handle(ResourcePackClientResponsePacket packet) {
session.authenticate(session.getAuthData().name());
} else if (!couldLoginUserByName(session.getAuthData().name())) {
// We must spawn the white world
session.connect();//TODO:locate by here
session.connect();//Let bedrock user to login with online mode on
}
geyser.getLogger().info(GeyserLocale.getLocaleStringLog("geyser.network.connect", session.getAuthData().name()));
break;
Expand Down
53 changes: 0 additions & 53 deletions patches/0003-Create-gradle.yml.patch

This file was deleted.

148 changes: 0 additions & 148 deletions patches/0004-Delete-.github-workflows-build.yml.patch

This file was deleted.

Loading

0 comments on commit 4236de7

Please sign in to comment.