From 8039cf3b5be4163d30013ddb85a4615df3191a82 Mon Sep 17 00:00:00 2001 From: Jamesssssssssssssss <87044058+Jamesssssssssssssss@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:02:28 +0000 Subject: [PATCH] release.yml update (#490) * add jsonc parser to mod release * order better * remove release ping * Delete packaging/BepInEx/plugins directory * fix plugins --- .github/workflows/release.yml | 23 +++++-------------- packaging/{ => BepInEx/config}/BepInEx.cfg | 0 .../config}/at.duikbo.regioninstall.cfg | 0 3 files changed, 6 insertions(+), 17 deletions(-) rename packaging/{ => BepInEx/config}/BepInEx.cfg (100%) rename packaging/{ => BepInEx/config}/at.duikbo.regioninstall.cfg (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c392cf366..8ea7a18f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -132,18 +132,16 @@ jobs: cp artifacts/ehr/EHR.dll epic/BepInEx/plugins/ cp artifacts/ehr/EHR.dll steam/BepInEx/plugins/ - - name: Copy configs to BepInEx config - run: | - mkdir -p epic/BepInEx/config/ - mkdir -p steam/BepInEx/config/ - cp packaging/* epic/BepInEx/config/ - cp packaging/* steam/BepInEx/config/ - - - name: Download modded regions DLL to plugins + - name: Download modded regions DLL run: | curl -L https://github.com/miniduikboot/Mini.RegionInstall/releases/download/v1.2.0/Mini.RegionInstall.dll -o epic/BepInEx/plugins/Mini.RegionInstall.dll cp epic/BepInEx/plugins/Mini.RegionInstall.dll steam/BepInEx/plugins/Mini.RegionInstall.dll + - name: Copy packaging files to BepInEx config + run: | + cp -r packaging/* epic/ + cp -r packaging/* steam/ + - name: Steam App ID run : echo "945360" > steam_appid.txt @@ -226,12 +224,3 @@ jobs: MODNEWS_API_URL: ${{ secrets.MODNEWS_API_URL }} MODNEWS_API_TOKEN: ${{ secrets.MODNEWS_API_TOKEN }} run: python release_to_modnews.py - # ----------------------------- - # Ping Release Channel - # ----------------------------- - - name: Notify Discord - run: | - curl -H "Content-Type: application/json" \ - -X POST \ - -d "{\"content\": \"<@&1170671991343288391>\nEHR v${{ github.event.inputs.version }}\nhttps://github.com/${{ github.repository }}/releases/tag/v${{ github.event.inputs.version }}\"}" \ - ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }} diff --git a/packaging/BepInEx.cfg b/packaging/BepInEx/config/BepInEx.cfg similarity index 100% rename from packaging/BepInEx.cfg rename to packaging/BepInEx/config/BepInEx.cfg diff --git a/packaging/at.duikbo.regioninstall.cfg b/packaging/BepInEx/config/at.duikbo.regioninstall.cfg similarity index 100% rename from packaging/at.duikbo.regioninstall.cfg rename to packaging/BepInEx/config/at.duikbo.regioninstall.cfg