From 157a0dfe3b3a380145039da48c2b85ed9ae86ba7 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sun, 20 Oct 2024 01:49:13 -0400 Subject: [PATCH] Make json upload only on main builds --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d26f64c2..dba126dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,6 +77,7 @@ jobs: gh release upload devbuild --clobber dist/release/* - name: Upload Plugins JSON to Equibored repo + if: ${{ github.ref_name == 'main' }} run: | git config --global user.name "$USERNAME" git config --global user.email "78185467+thororen1234@users.noreply.github.com"