Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoenixOrigin authored May 13, 2024
1 parent 5e8acfc commit 3c6426f
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,3 @@ jobs:
java-version: 17
target-folder: javadoc
project: gradle
publish:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v3
- name: Generate versions
id: version
uses: HardNorth/[email protected]
with:
version-source: file
version-file: gradle.properties
version-file-extraction-pattern: '(?<=version=).+'
- name: Update gradle.properties
run: |
sed -i 's/^version=.*/version=${{ env.NEXT_RELEASE_VERSION }}/' gradle.properties
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: 'version_increaser'
commit_user_email: '[email protected]'
commit_message: 'increase version'
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- name: shadowJar
uses: gradle/gradle-build-action@v2
with:
gradle-version: release-candidate
arguments: shadowJar
- name: Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ env.NEXT_RELEASE_VERSION }}
prerelease: false
title: ${{ env.NEXT_RELEASE_VERSION }}
files: |
LICENSE.txt
./build/libs/EventEmitter.jar

0 comments on commit 3c6426f

Please sign in to comment.