Skip to content

Commit 9583ad7

Browse files
committed
- deploy parent pom
- core snapshot
1 parent 7a0b2b0 commit 9583ad7

File tree

4 files changed

+51
-50
lines changed

4 files changed

+51
-50
lines changed

.github/workflows/core_snapshot.yml

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
11
---
22

3-
name: Publish Snapshot-Core
4-
5-
on:
6-
push:
7-
branches:
8-
- master
9-
- '[0-9].x'
10-
workflow_dispatch:
11-
12-
jobs:
13-
14-
snapshot:
15-
name: Deploy Snapshot-Core
16-
runs-on: ubuntu-latest
17-
defaults:
18-
run:
19-
working-directory: ./core
20-
steps:
21-
- uses: actions/checkout@v2
22-
- name: Set up publishing to maven central
23-
uses: actions/setup-java@v2
24-
with:
25-
java-version: '8'
26-
distribution: 'temurin'
27-
server-id: ossrh
28-
server-username: MAVEN_USERNAME
29-
server-password: MAVEN_PASSWORD
30-
- name: Cache dependencies
31-
uses: actions/cache@v2
32-
with:
33-
path: |
34-
~/.m2/repository
35-
/var/cache/apt
36-
key: core-${{hashFiles('**/pom.xml')}}
37-
- name: mvn offline
38-
run: |
39-
mvn -q dependency:go-offline
40-
- name: deploy
41-
run: |
42-
mvn --no-transfer-progress \
43-
-DskipTests deploy
44-
env:
45-
MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}}
46-
MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}}
3+
name: Publish Snapshot-Core
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
- '[0-9].x'
10+
workflow_dispatch:
11+
12+
jobs:
13+
14+
snapshot:
15+
name: Deploy Snapshot-Core
16+
runs-on: ubuntu-latest
17+
defaults:
18+
run:
19+
working-directory: ./core
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Set up publishing to maven central
23+
uses: actions/setup-java@v2
24+
with:
25+
java-version: '8'
26+
distribution: 'temurin'
27+
server-id: ossrh
28+
server-username: MAVEN_USERNAME
29+
server-password: MAVEN_PASSWORD
30+
- name: Cache dependencies
31+
uses: actions/cache@v2
32+
with:
33+
path: |
34+
~/.m2/repository
35+
/var/cache/apt
36+
key: core-${{hashFiles('**/pom.xml')}}
37+
- name: mvn offline
38+
run: |
39+
mvn -q dependency:go-offline
40+
- name: deploy
41+
run: |
42+
mvn --no-transfer-progress \
43+
-DskipTests deploy
44+
env:
45+
MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}}
46+
MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}}
47+

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: deploy
3838
run: |
3939
mvn --no-transfer-progress \
40-
-DskipTests deploy
40+
-DskipTests deploy -N
4141
env:
4242
MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}}
4343
MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}}

core/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22

3-
<parent>
4-
<groupId>redis.clients.authentication</groupId>
5-
<artifactId>redis-authx</artifactId>
6-
<version>0.1.0</version>
3+
<parent>
4+
<groupId>org.sonatype.oss</groupId>
5+
<artifactId>oss-parent</artifactId>
6+
<version>7</version>
77
</parent>
88

99
<modelVersion>4.0.0</modelVersion>

entraid/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<dependency>
6161
<groupId>redis.clients.authentication</groupId>
6262
<artifactId>redis-authx-core</artifactId>
63-
<version>0.1.0</version>
63+
<version>0.1.0-SNAPSHOT</version>
6464
</dependency>
6565
<dependency>
6666
<groupId>com.microsoft.azure</groupId>

0 commit comments

Comments
 (0)