diff --git a/.github/workflows/oss-snapshot-deploy.yml b/.github/workflows/oss-snapshot-deploy.yml deleted file mode 100644 index 4373ea2..0000000 --- a/.github/workflows/oss-snapshot-deploy.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: publish maven package -on: - workflow_dispatch: - push: - branches: [ master ] - -jobs: - oss-snapshot-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'adopt' - cache: maven - - - name: Setup Maven Central - uses: actions/setup-java@v3 - with: # overwrite settings.xml - java-version: '17' - distribution: 'adopt' - server-id: sonatype - server-username: OSSRH_USERNAME - server-password: OSSRH_PASSWORD - gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE - - - name: Set Release version env variable - run: | - echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV - - - name: Publish to Maven Central - if: contains('${{ env.RELEASE_VERSION }}', 'SNAPSHOT') - run: mvn clean deploy -P snapshot - env: - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} diff --git a/README.md b/README.md index 2661590..2316192 100644 --- a/README.md +++ b/README.md @@ -38,38 +38,17 @@ key=ip+url+args | 版本 | 支持 | |-------|--| -| 0.4.0 | 适配 SpringBoot3.x | +| 0.5.0 | 适配 SpringBoot3.x | | 0.1.0 | 适配 SpringBoot2.x | ```java com.pig4cloud.plugin idempotent-spring-boot-starter - 0.4.0 + 0.5.0 - -- 使用快照 - - - com.pig4cloud.plugin - idempotent-spring-boot-starter - 0.4.1-SNAPSHOT - - - - - snapshots - Excel Snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - false - - - ``` - - - 2. 配置 redis 链接相关信息 ```yaml