diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 384f6e34d5d..7b04defeffe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,10 +11,10 @@ jobs: build-java: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Java 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' @@ -65,7 +65,7 @@ jobs: mkdir -p ./jacoco echo $PR_NUMBER > ./jacoco/jacoco_report_number echo '![Code Coverage]'"(https://img.shields.io/badge/Code%20Coverage-${coverage}%25-${color}?style=flat)" > ./jacoco/jacoco_report_badge - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: jacoco_report path: jacoco/ @@ -73,15 +73,15 @@ jobs: build-ui: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '16' - name: Setup Cache for Node.js - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.npm diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 084afc6e35b..07b07ba9953 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,10 +8,10 @@ jobs: build-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Java 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbb08b04024..841b65015f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,10 +9,10 @@ jobs: build-java: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Java 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' @@ -36,7 +36,7 @@ jobs: run: ./gradlew buildEdge buildBackend - name: Save build-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifacts path: | @@ -46,15 +46,15 @@ jobs: build-ui: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '16' - name: Setup Cache for Node.js - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.npm @@ -80,7 +80,7 @@ jobs: zip -r ../../build/openems-ui.zip ./* - name: Save build-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-artifacts path: build/openems-ui.zip @@ -90,13 +90,13 @@ jobs: needs: [build-java, build-ui] steps: - name: Load build-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: build-artifacts path: build - name: Create draft Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: true files: |