Skip to content

Commit

Permalink
Bugfix Snapshot Release + Bump deprecated github action versions (#1599)
Browse files Browse the repository at this point in the history
fixes #1598
  • Loading branch information
ChrizZz110 authored Nov 12, 2024
1 parent ff285a0 commit e170d16
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@ on:
- cron: '00 23 * * SUN'

jobs:
deploy:
deploy-gh-pages:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: develop

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4.2.1
with:
java-version: 1.8
java-version: 8
distribution: zulu

- name: Build Project
run: mvn clean install
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-13, windows-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Hadoop winutils (Windows)
if: matrix.os == 'windows-latest'
run: |
Expand All @@ -24,9 +24,10 @@ jobs:
echo "HADOOP_HOME=C:\winutils\hadoop-3.2.2" >> $env:GITHUB_ENV
echo "PATH=$env:PATH;$env:HADOOP_HOME\bin" >> $env:GITHUB_ENV
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4.2.1
with:
java-version: 1.8
java-version: 8
distribution: zulu
- name: Build with Maven
run: |
mvn clean install -DskipTests --no-transfer-progress -DtrimStackTrace=false
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/release-snaphot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: develop

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4.2.1
with:
java-version: 1.8
java-version: 8
distribution: zulu

- name: Set up Apache Maven Central
uses: actions/setup-java@v1
uses: actions/setup-java@v4.2.1
with: # running setup-java again overwrites the settings.xml
java-version: 1.8
java-version: 8
distribution: zulu
server-id: release_artifacts_gradoop
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
</site>
<snapshotRepository>
<id>release_artifacts_gradoop</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/org/gradoop</url>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>release_artifacts_gradoop</id>
Expand Down Expand Up @@ -173,6 +173,7 @@
<dep.jsonassert.version>1.2.3</dep.jsonassert.version>
<dep.kryo.version>4.0.2</dep.kryo.version>
<dep.flink-shaded.version>2.6.5-9.0</dep.flink-shaded.version>
<dep.protoc.version>3.0.0</dep.protoc.version>
<dep.parquet.version>1.12.0</dep.parquet.version>
<dep.log4j.version>2.17.1</dep.log4j.version>
<dep.mockito.version>2.21.0</dep.mockito.version>
Expand Down Expand Up @@ -294,7 +295,7 @@
<artifactId>protoc-jar-maven-plugin</artifactId>
<version>${plugin.maven-protoc.version}</version>
<configuration>
<protocVersion>3.0.0</protocVersion>
<protocVersion>${dep.protoc.version}</protocVersion>
<inputDirectories>
<include>src/main/proto</include>
</inputDirectories>
Expand Down

0 comments on commit e170d16

Please sign in to comment.