Skip to content

Commit

Permalink
TO BE REMOVED - test CI action with gradle script
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Jul 1, 2024
1 parent 4b09c85 commit 24886de
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 24886de

Please sign in to comment.