Skip to content

Commit

Permalink
Update Actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
sunye committed Sep 30, 2024
1 parent a4ee2e0 commit 3309adc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '22'
distribution: 'temurin'
cache: maven
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -44,11 +44,11 @@ jobs:
runs-on: ubuntu-latest
needs: build-bundles
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '22'
distribution: 'temurin'
cache: maven
- name: Build plugins with Tycho
Expand All @@ -58,11 +58,11 @@ jobs:
runs-on: ubuntu-latest
needs: build-bundles
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 2
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '22'
distribution: 'temurin'
cache: maven
- name: Install GPG key
Expand Down
3 changes: 2 additions & 1 deletion neoemf-utils/p2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@

<properties>
<tycho-plugin.version>4.0.9</tycho-plugin.version>
<compare.url>http://download.eclipse.org/modeling/emf/compare/updates/releases/3.3</compare.url>
</properties>

<repositories>
<repository>
<id>emf-compare</id>
<layout>p2</layout>
<url>https://download.eclipse.org/modeling/emf/compare/updates/releases/3.3/R202406060900/</url>
<url>${compare.url}</url>
</repository>
<repository>
<id>2024-12</id>
Expand Down

0 comments on commit 3309adc

Please sign in to comment.