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

Bugfix Snapshot Release + Bump deprecated github action versions #1599

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
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
7 changes: 4 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, 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
2 changes: 1 addition & 1 deletion 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>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a critical issue ... I added that suffix somewhen in 2022 but do not know why.

<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>release_artifacts_gradoop</id>
Expand Down
Loading