From d496e518f44e5f3dd4b53e4e2a7f294dd409e1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Schr=C3=B6dinger?= <132720404+Schrodinger71@users.noreply.github.com> Date: Thu, 27 Jun 2024 21:09:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D1=80=D0=B5=D0=B7=D0=B0=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D0=B9=20=D0=B0=D0=BA?= =?UTF-8?q?=D1=88=D0=BE=D0=BD=20update-wiki=20(#16)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Описание PR **Медиа** **Проверки** - [x] PR полностью завершён и мне не нужна помощь чтобы его закончить. - [x] Я внимательно просмотрел все свои изменения и багов в них не нашёл. - [x] Я запускал локальный сервер со своими изменениями и всё протестировал. - [x] Я добавил скриншот/видео демонстрации PR в игре, **или** этот PR этого не требует. **Изменения** no cl --- .github/workflows/update-wiki.yml | 156 +++++++++++++++--------------- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/.github/workflows/update-wiki.yml b/.github/workflows/update-wiki.yml index 2cd13b0d2dc..c93069089d8 100644 --- a/.github/workflows/update-wiki.yml +++ b/.github/workflows/update-wiki.yml @@ -1,92 +1,92 @@ -name: Update Wiki +# name: Update Wiki -on: - workflow_dispatch: - push: - branches: [ master, jsondump ] - paths: - - '.github/workflows/update-wiki.yml' - - 'Content.Shared/Chemistry/**.cs' - - 'Content.Server/Chemistry/**.cs' - - 'Content.Server/GuideGenerator/**.cs' - - 'Content.Server/Corvax/GuideGenerator/**.cs' - - 'Resources/Prototypes/Reagents/**.yml' - - 'Resources/Prototypes/Chemistry/**.yml' - - 'Resources/Prototypes/Recipes/Reactions/**.yml' - - 'RobustToolbox/' +# on: +# workflow_dispatch: +# push: +# branches: [ master, jsondump ] +# paths: +# - '.github/workflows/update-wiki.yml' +# - 'Content.Shared/Chemistry/**.cs' +# - 'Content.Server/Chemistry/**.cs' +# - 'Content.Server/GuideGenerator/**.cs' +# - 'Content.Server/Corvax/GuideGenerator/**.cs' +# - 'Resources/Prototypes/Reagents/**.yml' +# - 'Resources/Prototypes/Chemistry/**.yml' +# - 'Resources/Prototypes/Recipes/Reactions/**.yml' +# - 'RobustToolbox/' -jobs: - update-wiki: - name: Build and Publish JSON blobs to wiki - runs-on: ubuntu-latest +# jobs: +# update-wiki: +# name: Build and Publish JSON blobs to wiki +# runs-on: ubuntu-latest - steps: - - name: Checkout Master - uses: actions/checkout@v3.6.0 +# steps: +# - name: Checkout Master +# uses: actions/checkout@v3.6.0 - - name: Setup Submodule - run: | - git submodule update --init --recursive +# - name: Setup Submodule +# run: | +# git submodule update --init --recursive - - name: Pull Engine Updates - uses: space-wizards/submodule-dependency@v0.1.5 +# - name: Pull Engine Updates +# uses: space-wizards/submodule-dependency@v0.1.5 - - name: Update Engine Submodules - run: | - cd RobustToolbox/ - git submodule update --init --recursive +# - name: Update Engine Submodules +# run: | +# cd RobustToolbox/ +# git submodule update --init --recursive - - name: Setup .NET Core - uses: actions/setup-dotnet@v3.2.0 - with: - dotnet-version: 7.0.x +# - name: Setup .NET Core +# uses: actions/setup-dotnet@v3.2.0 +# with: +# dotnet-version: 7.0.x - - name: Install Dependencies - run: dotnet restore +# - name: Install Dependencies +# run: dotnet restore - - name: Build Project - run: dotnet build --configuration Release --no-restore /p:WarningsAsErrors=nullable /m +# - name: Build Project +# run: dotnet build --configuration Release --no-restore /p:WarningsAsErrors=nullable /m - - name: Generate JSON blobs for prototypes - run: dotnet ./bin/Content.Server/Content.Server.dll --cvar autogen.destination_file=prototypes.json - continue-on-error: true +# - name: Generate JSON blobs for prototypes +# run: dotnet ./bin/Content.Server/Content.Server.dll --cvar autogen.destination_file=prototypes.json +# continue-on-error: true - - name: Upload chem_prototypes.json to wiki - uses: jtmullen/mediawiki-edit-action@v0.1.1 - with: - wiki_text_file: ./bin/Content.Server/data/chem_prototypes.json - edit_summary: Update chem_prototypes.json via GitHub Actions - page_name: "${{ secrets.WIKI_PAGE_ROOT }}/chem_prototypes.json" - api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php - username: ${{ secrets.WIKI_BOT_USER }} - password: ${{ secrets.WIKI_BOT_PASS }} +# - name: Upload chem_prototypes.json to wiki +# uses: jtmullen/mediawiki-edit-action@v0.1.1 +# with: +# wiki_text_file: ./bin/Content.Server/data/chem_prototypes.json +# edit_summary: Update chem_prototypes.json via GitHub Actions +# page_name: "${{ secrets.WIKI_PAGE_ROOT }}/chem_prototypes.json" +# api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php +# username: ${{ secrets.WIKI_BOT_USER }} +# password: ${{ secrets.WIKI_BOT_PASS }} - - name: Upload react_prototypes.json to wiki - uses: jtmullen/mediawiki-edit-action@v0.1.1 - with: - wiki_text_file: ./bin/Content.Server/data/react_prototypes.json - edit_summary: Update react_prototypes.json via GitHub Actions - page_name: "${{ secrets.WIKI_PAGE_ROOT }}/react_prototypes.json" - api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php - username: ${{ secrets.WIKI_BOT_USER }} - password: ${{ secrets.WIKI_BOT_PASS }} +# - name: Upload react_prototypes.json to wiki +# uses: jtmullen/mediawiki-edit-action@v0.1.1 +# with: +# wiki_text_file: ./bin/Content.Server/data/react_prototypes.json +# edit_summary: Update react_prototypes.json via GitHub Actions +# page_name: "${{ secrets.WIKI_PAGE_ROOT }}/react_prototypes.json" +# api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php +# username: ${{ secrets.WIKI_BOT_USER }} +# password: ${{ secrets.WIKI_BOT_PASS }} - - name: Upload entity_prototypes.json to wiki - uses: jtmullen/mediawiki-edit-action@v0.1.1 - with: - wiki_text_file: ./bin/Content.Server/data/entity_prototypes.json - edit_summary: Update entity_prototypes.json via GitHub Actions - page_name: "${{ secrets.WIKI_PAGE_ROOT }}/entity_prototypes.json" - api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php - username: ${{ secrets.WIKI_BOT_USER }} - password: ${{ secrets.WIKI_BOT_PASS }} +# - name: Upload entity_prototypes.json to wiki +# uses: jtmullen/mediawiki-edit-action@v0.1.1 +# with: +# wiki_text_file: ./bin/Content.Server/data/entity_prototypes.json +# edit_summary: Update entity_prototypes.json via GitHub Actions +# page_name: "${{ secrets.WIKI_PAGE_ROOT }}/entity_prototypes.json" +# api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php +# username: ${{ secrets.WIKI_BOT_USER }} +# password: ${{ secrets.WIKI_BOT_PASS }} - - name: Upload mealrecipes_prototypes.json to wiki - uses: jtmullen/mediawiki-edit-action@v0.1.1 - with: - wiki_text_file: ./bin/Content.Server/data/mealrecipes_prototypes.json - edit_summary: Update mealrecipes_prototypes.json via GitHub Actions - page_name: "${{ secrets.WIKI_PAGE_ROOT }}/mealrecipes_prototypes.json" - api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php - username: ${{ secrets.WIKI_BOT_USER }} - password: ${{ secrets.WIKI_BOT_PASS }} +# - name: Upload mealrecipes_prototypes.json to wiki +# uses: jtmullen/mediawiki-edit-action@v0.1.1 +# with: +# wiki_text_file: ./bin/Content.Server/data/mealrecipes_prototypes.json +# edit_summary: Update mealrecipes_prototypes.json via GitHub Actions +# page_name: "${{ secrets.WIKI_PAGE_ROOT }}/mealrecipes_prototypes.json" +# api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php +# username: ${{ secrets.WIKI_BOT_USER }} +# password: ${{ secrets.WIKI_BOT_PASS }}