Skip to content

Commit 845e99c

Browse files
chore: fix release (#212)
1 parent 5cf9c9f commit 845e99c

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/release.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ on:
1212
required: true
1313
type: boolean
1414
version-increment-type:
15-
description: 'Which part of the version to increment:'
15+
description: "Which part of the version to increment:"
1616
required: true
1717
type: choice
1818
options:
1919
- major
2020
- minor
2121
- patch
22-
default: 'patch'
22+
default: "patch"
2323

2424
permissions:
2525
contents: write
@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
distribution: temurin
6868
java-version: 18
69-
cache: 'gradle'
69+
cache: "gradle"
7070

7171
- name: Build and Publish To Sonatype Staging
7272
env:
@@ -77,15 +77,6 @@ jobs:
7777
run: |
7878
./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
7979
80-
- name: Release Sonatype Staging Repository
81-
if: inputs.prerelease != true && inputs.draft != true
82-
env:
83-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
84-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
85-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
86-
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
87-
run: ./gradlew closeAndReleaseRepository
88-
8980
- uses: DevCycleHQ/release-action/[email protected]
9081
id: create-release
9182
with:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
**/.gradle
22
**/.idea
3+
**/.vscode
34

45
# Compiled class file
56
*.class

0 commit comments

Comments
 (0)