-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TO BE REMOVED - test CI action with gradle script
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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' |