Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update GitHub actions #2438

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/cxx-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# setup Python
#
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.7'

Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
# setup Java
#
- name: Set up JDK Java ${{ matrix.java }} | ${{ matrix.distribution }} | ${{ matrix.os }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
Expand All @@ -111,7 +111,7 @@ jobs:
#
- name: get-pom-version
id: pom-version
uses: andreacomo/maven-gav-extractor@v1
uses: andreacomo/maven-gav-extractor@v2

# remove -SNAPSHOT from POM version (major.minor.patch-SNAPSHOT)
#
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
#
- name: Packaging workflow data as artifacts
if: hashFiles('staging') != ''
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: JAR_Files
path: staging
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
# setup Java
#
- name: Set up JDK Java ${{ matrix.java }} | ${{ matrix.distribution }} | ${{ matrix.os }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
# setup Java
#
- name: Set up JDK Java ${{ matrix.java }} | ${{ matrix.distribution }} | ${{ matrix.os }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
Expand All @@ -264,7 +264,7 @@ jobs:
# setup Python
#
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.7'
# cache not working with 2.7?
Expand All @@ -280,7 +280,7 @@ jobs:
#
#- name: Set up SonarQube (Cache)
# id: sonar-qube
# uses: actions/cache@v2
# uses: actions/cache@v3
# with:
# path: test/sonarqube-${{ matrix.sonarqube }}
# key: install-sonarqube-${{ matrix.sonarqube }}-${{ runner.os }}
Expand All @@ -297,7 +297,7 @@ jobs:
#
#- name: Set up SonarScanner (Cache)
# id: sonar-scanner
# uses: actions/cache@v2
# uses: actions/cache@v3
# with:
# path: test/sonar-scanner-${{ matrix.sonarscanner }}
# key: install-sonar-scanner-cli-${{ matrix.sonarscanner }}-${{ runner.os }}
Expand All @@ -314,7 +314,7 @@ jobs:
# - copy it to target folder, behave script expect it there
#
- name: Download cxx plugin
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: JAR_Files

Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:

- name: Upload LOG files as artifact
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: "LOG_sonarqube_${{ matrix.sonarqube }}_${{ matrix.os }}"
path: "${{ env.SONARLOG }}"
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:
# setup Java
#
- name: Set up JDK Java ${{ matrix.java }} | ${{ matrix.distribution }} | ${{ matrix.os }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
Expand All @@ -405,7 +405,7 @@ jobs:
# setup Python
#
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.7'
# cache not working with 2.7?
Expand All @@ -421,7 +421,7 @@ jobs:
#
#- name: Set up SonarQube (Cache)
# id: sonar-qube
# uses: actions/cache@v2
# uses: actions/cache@v3
# with:
# path: test/sonarqube-${{ matrix.sonarqube }}
# key: install-sonarqube-${{ matrix.sonarqube }}-${{ runner.os }}
Expand All @@ -439,7 +439,7 @@ jobs:
#
#- name: Set up SonarScanner (Cache)
# id: sonar-scanner
# uses: actions/cache@v2
# uses: actions/cache@v3
# with:
# path: test/sonar-scanner-${{ matrix.sonarscanner }}
# key: install-sonar-scanner-cli-${{ matrix.sonarscanner }}-${{ runner.os }}
Expand All @@ -457,7 +457,7 @@ jobs:
# - copy it to target folder, behave script expect it there
#
- name: Download cxx plugin
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: JAR_Files

Expand Down Expand Up @@ -504,7 +504,7 @@ jobs:

- name: Upload LOG files as artifact
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: "LOG_sonarqube_${{ matrix.sonarqube }}_${{ matrix.os }}"
path: "${{ env.SONARLOG }}"
Expand All @@ -528,7 +528,7 @@ jobs:
#
- name: Download JAR files
if: github.event_name == 'push'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: JAR_Files

Expand Down