Skip to content

Commit

Permalink
feat(CI): version
Browse files Browse the repository at this point in the history
  • Loading branch information
andanyoung committed May 13, 2024
1 parent ca65798 commit 7eb0339
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 75 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/maven-publish-common-spring-web.yml

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/maven-publish-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: common Deploy

on:
release:
types: [created]
workflow_dispatch:

jobs:
Expand All @@ -29,10 +27,10 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build with Maven
run: mvn -B -Dmaven.test.skip=true clean package --file admin4j-common/pom.xml
run: mvn -B -Dmaven.test.skip=true clean install

- name: Set up Apache Maven Central
run: mvn -Dmaven.test.skip=true deploy --file admin4j-common/pom.xml
run: mvn -Dmaven.test.skip=true deploy -pl=admin4j-common,admin4j-common-spring,admin4j-common-spring-web
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: elasticsearch Deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish-limiter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: limiter Deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: lock Deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/maven-publish-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
name: oss

on:
release:
types: [ created ]
# push:
# branches:
# - master
workflow_dispatch:

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish-parent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: admin4j-parent deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: redis Deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# 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: common-spring Deploy
name: test-spring-boot-starter Deploy

on:
release:
types: [created]
workflow_dispatch:

jobs:
Expand All @@ -29,10 +27,10 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build with Maven
run: mvn -B -Dmaven.test.skip=true install --file admin4j-common-spring/pom.xml
run: mvn -B -Dmaven.test.skip=true clean install

- name: Set up Apache Maven Central
run: mvn -Dmaven.test.skip=true deploy --file admin4j-common-spring/pom.xml
run: mvn -Dmaven.test.skip=true deploy -pl=test-spring-boot-starter
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish-track-log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: track-log Deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: framework Deploy

on:
release:
types: [ created ]
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 7eb0339

Please sign in to comment.