From c475e8cbe61ea0fec92b9a86209043fc8dea0cad Mon Sep 17 00:00:00 2001 From: Alexander Schulz-Rosengarten Date: Wed, 9 Nov 2022 13:35:34 +0100 Subject: [PATCH] ci: Added big archives to release build --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 645d76be24..4edfcbad79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: # Archive Repository - name: Archive Semantics Repository Artifact - if: github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') }} uses: actions/upload-artifact@v2 with: name: Semantics Repository Artifact @@ -56,7 +56,7 @@ jobs: # Collect and Archive all Products - name: Collect All Products - if: github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') }} run: | mkdir products cp -r build/de.cau.cs.kieler.semantics.product.repository/target/products/sccharts_rca_* products/ @@ -66,7 +66,7 @@ jobs: mkdir products/ls cp -r build/de.cau.cs.kieler.language.server.cli/target/exe/* products/ls - name: Archive All Products - if: github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-') }} uses: actions/upload-artifact@v2 with: name: All Semantics Products