diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5492bcdd..a999fc49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,16 +14,21 @@ jobs: pull-requests: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-java@v4 + - name: Setup Java + uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin cache: 'gradle' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build run: ./gradlew build diff --git a/.github/workflows/website_build.yml b/.github/workflows/website_build.yml index 24d775f6..36f82704 100644 --- a/.github/workflows/website_build.yml +++ b/.github/workflows/website_build.yml @@ -19,7 +19,8 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -28,10 +29,12 @@ jobs: with: node-version: '18.x' - - run: npm ci + - name: Install Packages + run: npm ci working-directory: ./website - - run: npm run prod + - name: Build Website + run: npm run prod working-directory: ./website - name: Archive artifact