mirror of
https://github.com/maxkratz/emoflon-ibex-ci-hello-world.git
synced 2024-06-02 10:32:29 +00:00
Updates GitHub-based Actions to v4 + updates runner image to 22.04
This commit is contained in:
parent
73c9b4a433
commit
c71f3b335c
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -20,19 +20,19 @@ env:
|
|||
jobs:
|
||||
# Build Eclipse projects and create a "fat JAR"
|
||||
build:
|
||||
runs-on: [ubuntu-20.04]
|
||||
runs-on: [ubuntu-22.04]
|
||||
steps:
|
||||
- name: Start message
|
||||
run: echo "Started CI build."
|
||||
- name: Install correct Java version
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -yq grep coreutils wget curl
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Get Eclipse archive
|
||||
uses: dsaltares/fetch-gh-release-asset@master
|
||||
with:
|
||||
|
@ -68,7 +68,7 @@ jobs:
|
|||
cd $START_PWD/$TEST_PROJECT/
|
||||
ant -f $JAR_NAME.xml
|
||||
- name: Upload JAR file
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.JAR_NAME }}.jar
|
||||
path: ${{ env.TEST_PROJECT }}/${{ env.JAR_NAME }}.jar
|
||||
|
@ -76,17 +76,17 @@ jobs:
|
|||
# Download "fat JAR" and run all tests
|
||||
test:
|
||||
needs: [build]
|
||||
runs-on: [ubuntu-20.04]
|
||||
runs-on: [ubuntu-22.04]
|
||||
steps:
|
||||
- name: Start message
|
||||
run: echo "Started CI test."
|
||||
- name: Install correct Java version
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
- name: Download JAR file
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ env.JAR_NAME }}.jar
|
||||
# Currently, this workaround is needed for HiPE
|
||||
|
@ -104,7 +104,7 @@ jobs:
|
|||
with:
|
||||
JUNIT_FILES: build/reports/*.xml
|
||||
- name: Upload test reports
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-reports
|
||||
path: |
|
||||
|
|
Loading…
Reference in a new issue