Merge pull request #1791 from Owain94/blablabla
scraper: Remove item action and minify json
This commit is contained in:
33
.github/workflows/scraper.yml
vendored
33
.github/workflows/scraper.yml
vendored
@@ -37,36 +37,3 @@ jobs:
|
|||||||
PULL_REQUEST_BODY: This is an auto-generated PR with changes from the OSRS wiki
|
PULL_REQUEST_BODY: This is an auto-generated PR with changes from the OSRS wiki
|
||||||
COMMIT_MESSAGE: 'Client: Update NPC stats'
|
COMMIT_MESSAGE: 'Client: Update NPC stats'
|
||||||
PULL_REQUEST_LABELS: automated pull request, NPC stats
|
PULL_REQUEST_LABELS: automated pull request, NPC stats
|
||||||
|
|
||||||
scrape-items:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- name: Set up JDK 11
|
|
||||||
uses: actions/setup-java@master
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
- name: Make gradlew executable
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
- name: Assembling cache client
|
|
||||||
run: ./gradlew :cache-client:assemble --console=plain
|
|
||||||
- name: Assembling scraper
|
|
||||||
run: ./gradlew :wiki-scraper:assemble --console=plain
|
|
||||||
- name: Building cache client
|
|
||||||
run: ./gradlew :cache-client:build --console=plain
|
|
||||||
- name: Building scraper
|
|
||||||
run: ./gradlew :wiki-scraper:build --console=plain
|
|
||||||
- name: Downloading jagex cache
|
|
||||||
run: ./gradlew :cache-client:update --console=plain
|
|
||||||
- name: Scraping item stats
|
|
||||||
run: ./gradlew :wiki-scraper:itemStatsScrape --console=plain
|
|
||||||
- name: Create item stats Pull Request
|
|
||||||
uses: Owain94/create-pull-request@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.OpenOSRS }}
|
|
||||||
PULL_REQUEST_BRANCH: ITEM-STATS-UPDATE
|
|
||||||
PULL_REQUEST_TITLE: 'Client: Update item stats'
|
|
||||||
PULL_REQUEST_BODY: This is an auto-generated PR with changes from the OSRS wiki
|
|
||||||
COMMIT_MESSAGE: 'Client: Update item stats'
|
|
||||||
PULL_REQUEST_LABELS: automated pull request, item stats
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ import net.runelite.data.dump.wiki.NpcStatsDumper;
|
|||||||
public class App
|
public class App
|
||||||
{
|
{
|
||||||
public static final Gson GSON = new GsonBuilder()
|
public static final Gson GSON = new GsonBuilder()
|
||||||
.setPrettyPrinting()
|
// .setPrettyPrinting()
|
||||||
.disableHtmlEscaping()
|
.disableHtmlEscaping()
|
||||||
.create();
|
.create();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user