mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Upgrade GHA dependencies (#16420)
This fixes the following deprecation warning: > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
956b8e47d5
commit
2fb3988dcd
16
.github/workflows/ci-build.yml
vendored
16
.github/workflows/ci-build.yml
vendored
@ -19,23 +19,23 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17' ]
|
java: [ '17' ]
|
||||||
maven: [ '3.9.4' ]
|
maven: [ '3.9.6' ]
|
||||||
os: [ 'ubuntu-22.04' ]
|
os: [ 'ubuntu-22.04' ]
|
||||||
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
|
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: github.head_ref == ''
|
if: github.head_ref == ''
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout merge
|
- name: Checkout merge
|
||||||
if: github.head_ref != ''
|
if: github.head_ref != ''
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
ref: refs/pull/${{github.event.pull_request.number}}/merge
|
||||||
|
|
||||||
- name: Set up Cache
|
- name: Set up Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.m2/repository
|
~/.m2/repository
|
||||||
@ -45,13 +45,13 @@ jobs:
|
|||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
|
|
||||||
- name: Set up Java ${{ matrix.java }}
|
- name: Set up Java ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
|
|
||||||
- name: Set up Maven ${{ matrix.maven }}
|
- name: Set up Maven ${{ matrix.maven }}
|
||||||
uses: stCarolas/setup-maven@v4.5
|
uses: stCarolas/setup-maven@v5
|
||||||
with:
|
with:
|
||||||
maven-version: ${{ matrix.maven }}
|
maven-version: ${{ matrix.maven }}
|
||||||
|
|
||||||
@ -81,14 +81,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Build Log
|
- name: Upload Build Log
|
||||||
if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
|
if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-log-java-${{ matrix.java }}-${{ matrix.os }}
|
name: build-log-java-${{ matrix.java }}-${{ matrix.os }}
|
||||||
path: build.log
|
path: build.log
|
||||||
|
|
||||||
- name: Upload SAT Summary Report
|
- name: Upload SAT Summary Report
|
||||||
if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
|
if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sat-summary-report
|
name: sat-summary-report
|
||||||
path: target/summary_report.html
|
path: target/summary_report.html
|
||||||
|
Loading…
Reference in New Issue
Block a user