Skip to content

Commit

Permalink
Merge pull request #4 from maxkratz/feature/update-github-actions-and…
Browse files Browse the repository at this point in the history
…-runner-image

Updates GitHub-based Actions to v4 + updates runner image to 22.04
  • Loading branch information
maxkratz authored Dec 19, 2023
2 parents 73c9b4a + c71f3b3 commit c2abeaa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -68,25 +68,25 @@ 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

# 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
Expand All @@ -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: |
Expand Down

0 comments on commit c2abeaa

Please sign in to comment.