Skip to content

Commit

Permalink
ci: publish package to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
fbiville committed Nov 22, 2024
1 parent 35ac8dc commit 3d9fbf3
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish

on:
push:
branches:
- 'main'

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Publish to GitHub Packages
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

This project hosts the Cypher procedure `genealogy.loadGedcom()` related to the import of genealogical data, encoded in Gedcom (5.5) files.

## Download

Proceed to https://github.com/neo4j-contrib/neo4j-gedcom/packages/ and grab the latest published JAR file.

## Build Locally

### Prerequisites
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
<groupId>com.neo4j.data.importer</groupId>
<artifactId>neo4j-gedcom</artifactId>
<version>1.0-SNAPSHOT</version>
<distributionManagement>
<repository>
<id>github</id>
<name>Github Packages</name>
<url>https://maven.pkg.github.com/neo4j-contrib/neo4j-gedcom</url>
</repository>
</distributionManagement>
<properties>
<java.version>17</java.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
Expand Down

0 comments on commit 3d9fbf3

Please sign in to comment.