From 498322a36a0f860c49c03ebee2c39c34b5f90237 Mon Sep 17 00:00:00 2001 From: Felix Ding Date: Tue, 17 Sep 2024 14:20:29 -0700 Subject: [PATCH] Adds step to upload and download build artifacts --- .github/workflows/maven.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 23537e82..34be859b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,6 +29,11 @@ jobs: run: | cd plugin/webview npm run build-ui + - name: Upload build artifacts + uses: actions/upload-artifact@v3 + with: + name: build-ui-artifacts + path: plugin/webview/build/ - name: Setup Maven Action uses: s4u/setup-maven-action@v1.14.0 with: @@ -36,5 +41,10 @@ jobs: java-version: 17 java-distribution: temurin maven-version: 3.9.8 + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-ui-artifacts + path: plugin/webview/build - name: Build with Maven run: mvn -B package --file pom.xml