From 1ad320bd704e13152d58739d10b4ebb70fd5ed16 Mon Sep 17 00:00:00 2001 From: phoenix <85183285+PhoenixOrigin@users.noreply.github.com> Date: Sun, 15 Oct 2023 16:27:19 +0100 Subject: [PATCH] work maybe --- .github/workflows/publish.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f80ab46..928b025 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,12 +20,11 @@ jobs: steps: - name: checkout source uses: actions/checkout@v3 - - name: Get next version - uses: reecetech/version-increment@2023.9.3 - id: version + - name: Generate versions + uses: HardNorth/github-version-generate@v1.2.0 with: - scheme: semver - increment: major + version-source: file + version-file: ${{ env.VERSION_FILE }} - name: Setup JDK uses: actions/setup-java@v3 with: @@ -36,7 +35,7 @@ jobs: with: gradle-version: release-candidate arguments: shadowJar - - run: echo ${{ steps.version.outputs.version }} + - run: echo env.NEXT_VERSION - name: Nexus Repo Publish uses: sonatype-nexus-community/nexus-repo-github-action@master with: @@ -45,6 +44,6 @@ jobs: password: ${{ secrets.password }} format: maven2 repository: maven-releases - coordinates: groupId=net.phoenix artifactId=eventemitter version=1.0.1 + coordinates: groupId=net.phoenix artifactId=eventemitter version=1.0.2 assets: extension=jar filename: /build/libs/EventEmitter-1.0-all.jar \ No newline at end of file