From a9b57165297f50fdbf4e9d4c2e5d3f66a3e9dcd5 Mon Sep 17 00:00:00 2001 From: Svein Manum Date: Mon, 4 Sep 2023 14:42:13 +0200 Subject: [PATCH] Only create example-app jar artifact on main branch --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 93e435e5..f18af6d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: build: - name: Build Jar with static frontend + name: Build frontend and all packages runs-on: ubuntu-latest steps: @@ -43,6 +43,7 @@ jobs: - name: Upload example-app build files + if: github.ref == 'refs/heads/main' uses: actions/upload-artifact@v3 with: name: example-app