Skip to content

Commit

Permalink
Merge branch 'rc/1.7.0/develop' into stage/rc/1.7.0/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-br committed Dec 28, 2023
2 parents 320e13d + ac85c6f commit 22b003d
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 5 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path

name: Publish Release

on:
release:
types: [created]

jobs:
build:

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

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
5 changes: 3 additions & 2 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ Une implémentation Spark Datasource pour MessagePack.
* [msgpack-java](https://github.com/msgpack/msgpack-java)

## Coordonnées Maven
Nous publions toutes nos versions dans le référentiel central Maven: [spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12)

```xml
<dependency>
<groupId>io.github.cybercentrecanada</groupId>
<artifactId>spark-msgpack-datasource-3.4_2.12</artifactId>
<version>1.2.0</version>
</dependency>
```
[spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12)


## Lire et écrire les données msgpack:
```scala
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ A Spark Datasource implementation for MessagePack.
* [msgpack-java](https://github.com/msgpack/msgpack-java)

## Maven Coordinates
We publish all our releases to maven central repository: [spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12)

```xml
<dependency>
<groupId>io.github.cybercentrecanada</groupId>
<artifactId>spark-msgpack-datasource-3.5_2.12</artifactId>
<version>1.2.0</version>
</dependency>
```
[spark-msgpack-datasource-3.5_2.12](https://central.sonatype.com/artifact/io.github.cybercentrecanada/spark-msgpack-datasource-3.5_2.12)


## Read and Write MessagePack data:

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>io.github.cybercentrecanada</groupId>
<artifactId>spark-msgpack-datasource-3.5_2.12</artifactId>
<packaging>jar</packaging>
<version>1.6.0</version>
<version>1.7.0-SNAPSHOT</version>
<name>spark-msgpack-datasource</name>
<description>A spark datasource implementation for the msgpack file format.</description>
<url>https://github.com/CybercentreCanada/spark-msgpack-datasource</url>
Expand Down

0 comments on commit 22b003d

Please sign in to comment.