diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index cb3e7ac6fc..4b3e6ec1c3 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -464,3 +464,38 @@ jobs: with: name: test-reports-se-servlet-coop path: 'test-reports.tgz' + + # TODO temporary test of a dist job + weld-dist-test: + name: "Weld Dist generation" + runs-on: ubuntu-latest + needs: initial-build + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4.2.1 + with: + java-version: 17 + distribution: 'temurin' + - name: Download Maven Repo + uses: actions/download-artifact@v4 + with: + name: maven-repo + path: . + - name: Extract Maven Repo + shell: bash + run: tar -xzf maven-repo.tgz -C ~ + - name: Build with Maven + # TODO test build with older version, release job will have the current one ready + run: | + cd build + gradle -PweldVersion=6.0.0.Beta1 -PweldPath=${GITHUB_WORKSPACE} + - name: Prepare dist + shell: bash + run: find . -name 'weld-*' -type d | tar -czf dist.tgz -T - + - name: Upload dist + uses: actions/upload-artifact@v4 + with: + name: generated-dist + path: 'dist.tgz' \ No newline at end of file