From fc5ce70b16cbc52249e7479593605168c3f2e1b9 Mon Sep 17 00:00:00 2001 From: stefankoppier Date: Sun, 16 Jun 2024 21:58:44 +0200 Subject: [PATCH] Named all steps --- .github/workflows/build.yml | 9 +++++++-- .github/workflows/website_build.yml | 9 ++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) 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