Skip to content

Commit

Permalink
remove commented section
Browse files Browse the repository at this point in the history
  • Loading branch information
grablack committed Dec 19, 2023
1 parent d7f2160 commit b39a163
Showing 1 changed file with 3 additions and 40 deletions.
43 changes: 3 additions & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,48 +18,11 @@ jobs:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}

# release:
# name: Release
# needs: [lint, test, build]
# runs-on: ubuntu-latest

# permissions:
# contents: write
# issues: write
# pull-requests: write

# steps:
# - name: Checkout repo
# uses: actions/checkout@v3
# with:
# # pulls all commits (needed for semantic release to correctly version)
# fetch-depth: '0'
# persist-credentials: false

# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# cache: gradle

# - name: Install Dependencies
# run: |
# npm i -g @semantic-release/exec @semantic-release/changelog @semantic-release/git [email protected]

# # - name: GitHub Release
# # env:
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # run: npx semantic-release@21

# - name: Publish to Maven
# run: echo "Publish to Maven"

# after build and unit tests are finished, publish all modules at once
# to help reduce the probability of failure when interacting with sonatype servers
publish_all_modules:
release:
needs: [lint, test, build]
name: Publish All Modules To Sonatype
name: Publish To Sonatype
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -77,7 +40,7 @@ jobs:
# - name: Update Version
# run: |
# ./gradlew -PversionParam=${{ github.event.inputs.version }} changeReleaseVersion
- name: Publish All Modules
- name: Publish to Maven
uses: ./.github/actions/publish_all_modules
with:
sonatype_usr: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
Expand Down

0 comments on commit b39a163

Please sign in to comment.