From 5f6f900beb39a95c30c4e68cea7b48c5a01849f3 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Sat, 30 Nov 2024 16:05:50 -0500 Subject: [PATCH] Fix conditional --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5b788c6..35250a5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,11 +110,13 @@ jobs: path: maven_offline - name: "Release: Get release info" id: get_release_info + if: github.event_name == 'release' uses: bruceadams/get-release@v1.2.3 env: GITHUB_TOKEN: ${{ github.token }} - name: "Release: Upload artifact" uses: actions/upload-release-asset@v1 + if: github.event_name == 'release' env: GITHUB_TOKEN: ${{ github.token }} with: