diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index 98a4b65de..54072a772 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -50,12 +50,21 @@ jobs: retention-days: 14 if-no-files-found: error - name: Archive MVN Repository + if: ${{ contains(github.ref, 'releases-') }} uses: actions/upload-artifact@v2 with: name: KLighD MVN Repository path: klighd-snapshots/**/* retention-days: 14 if-no-files-found: error + - name: Archive MVN Release Repository + if: ${{ !contains(github.ref, 'releases-') }} + uses: actions/upload-artifact@v2 + with: + name: KLighD MVN Repository + path: klighd/**/* + retention-days: 14 + if-no-files-found: error - name: Publish Test Report id: test_report if: ${{ !cancelled() }}