Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/package-opengds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
# neo4j-version = 5.26.5
# gds-version = 2.14.0
- java-version: 21.0.6 # Java 21 is required for Neo4j >= v2025.x
neo4j-version: 2025.10.1
gds-version: 2.22.0
neo4j-version: 2025.11.2
gds-version: 2.24.0
uses: ./.github/workflows/prepare-opengds.yml
with:
java-version: ${{ matrix.java-version }}
neo4j-version: ${{ matrix.neo4j-version }}
gds-version: ${{ matrix.gds-version }}
gds-ref: 71.68.83-v44-310b5f1b7f # Remove before 2.25.0 release
17 changes: 14 additions & 3 deletions .github/workflows/prepare-opengds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,38 @@ on:
description: "The version tag of Neo4j's graph data science repository"
required: true
type: string
gds-ref:
description: "The git reference (branch, tag, commit) of Neo4j's graph data science repository"
required: false
type: string
default: ""

jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Use gds-ref if inputs.gds-ref is set
if: inputs.gds-ref != ''
run: echo "gds-ref=${{ inputs.gds-ref }}" >> $GITHUB_ENV
- name: Use gds-version as default for gds-ref if inputs.gds-ref is not set
if: inputs.gds-ref == ''
run: echo "gds-ref=${{ inputs.gds-version }}" >> $GITHUB_ENV
- name: Setup Java JDK ${{ inputs.java-version }}
uses: actions/setup-java@v5
with:
distribution: "temurin"
java-version: ${{ inputs.java-version }}

- name: Checkout git repository "neo4j/graph-data-science" with tag ${{ inputs.gds-version }}
- name: Checkout git repository "neo4j/graph-data-science" with ref ${{ env.gds-ref }}
uses: actions/checkout@v6
with:
repository: "neo4j/graph-data-science"
ref: ${{ inputs.gds-version }}
ref: ${{ env.gds-ref }}

- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Running the tests once more is deactivated since it takes a while and shouldn't be neccessary
# Running the tests once more is deactivated since it takes a while and shouldn't be necessary
#- name: Run tests (Gradle)
# run: ./gradlew check -Pneo4jVersion=${{ inputs.neo4j-version }}

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-opengds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
# neo4j-version = 5.26.5
# gds-version = 2.14.0
- java-version: 21.0.6 # Java 21 is required for Neo4j >= v2025.x
neo4j-version: 2025.10.1
gds-version: 2.22.0
neo4j-version: 2025.11.2
gds-version: 2.24.0
uses: ./.github/workflows/prepare-opengds.yml
with:
java-version: ${{ matrix.java-version }}
neo4j-version: ${{ matrix.neo4j-version }}
gds-version: ${{ matrix.gds-version }}
gds-ref: 71.68.83-v44-310b5f1b7f # Remove before 2.25.0 release

release:
if: startsWith(github.ref, 'refs/tags/v')
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/tag-opengds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,30 @@ jobs:
strategy:
matrix:
include:
- gds-version: 2.22.0
- gds-version: 2.24.0
- gds-ref: 71.68.83-v44-310b5f1b7f # Remove before 2.25.0 release
env:
CI_COMMIT_AUTHOR: ${{ github.event.repository.name }} git tag bot
steps:
- name: Checkout git repository
uses: actions/checkout@v6
with:
token: ${{ secrets.RELEASE_TOKEN }}

- name: Assemble tag name with "v" + gds-version (gds-ref empty)
if: matrix.gds-ref == ''
run: echo "TAG_NAME=v${{ matrix.gds-version }}" >> $GITHUB_ENV
- name: Assemble tag name with "v" + gds-version + "-" + gds-ref
if: matrix.gds-ref != ''
run: echo "TAG_NAME=v${{ matrix.gds-version }}-${{ matrix.gds-ref }}" >> $GITHUB_ENV

- name: Create git tag v${{ matrix.gds-version }}
- name: Create git tag ${{ env.TAG_NAME }}
run: |
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
git config --global user.email '7671054+JohT@users.noreply.github.com'
if git tag -a v${{ matrix.gds-version }} -m "Release open graph data science plugin v${{ matrix.gds-version }} package for Neo4j"; then
echo "Push created tag v${{ matrix.gds-version }} to trigger release"
git push origin v${{ matrix.gds-version }}
if git tag -a ${{ env.TAG_NAME }} -m "Release open graph data science plugin ${{ env.TAG_NAME }} package for Neo4j"; then
echo "Push created tag ${{ env.TAG_NAME }} to trigger release"
git push origin ${{ env.TAG_NAME }}
else
echo "Ignore already existing tag v${{ matrix.gds-version }}"
echo "Ignore already existing tag ${{ env.TAG_NAME }}"
fi