From ebd59e49ab8639fec0fe159bbb0a2eb22bde348b Mon Sep 17 00:00:00 2001 From: meywood <105049338+meywood@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:01:33 +0000 Subject: [PATCH] issues/245 - Removed nctl github action --- .github/workflows/test-and-build.yml | 29 +++++++++++----------------- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index ca3f20d5e..6c14824c6 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -29,40 +29,33 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - # Start NCTL and copy assests over - - name: Start NCTL and copy assests over - run: | - cd script && chmod +x docker-run && ./docker-run - sleep 30 - chmod +x docker-copy-assets && ./docker-copy-assets && cd .. - - - name: Run the unit tests + - name: run the unit tests run: ./gradlew clean build - - - name: Export project version - run: echo "PROJECT_VERSION=$(./gradlew properties -q | grep "version:" | awk '{print $2}')" >> $GITHUB_ENV - - name: Generate Javadoc + - name: export project version + run: echo "project_version=$(./gradlew properties -q | grep "version:" | awk '{print $2}')" >> $github_env + + - name: generate javadoc run: ./gradlew javadoc - - name: Deploy tests results to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.2.2 + - name: deploy tests results to github pages + uses: jamesives/github-pages-deploy-action@v4.2.2 with: branch: gh-pages clean: true folder: build/reports/tests target-folder: docs/latest/junit - - name: Deploy jacoco report to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.5.0 + - name: deploy jacoco report to github pages + uses: jamesives/github-pages-deploy-action@v4.5.0 with: branch: gh-pages clean: true folder: build/reports/jacoco target-folder: docs/latest/jacoco - - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.5.0 + - name: deploy to github pages + uses: jamesives/github-pages-deploy-action@v4.5.0 with: branch: gh-pages clean: true