Skip to content

Commit 1f85104

Browse files
authored
Merge pull request #6 from LinX64/refactor/fixing-publish-issue
Fixing CI issue
2 parents c7fd33e + 63e5cab commit 1f85104

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ jobs:
4646
- name: Check Gradle wrapper
4747
uses: gradle/wrapper-validation-action@v2
4848

49-
# - name: Build with Gradle 🛠️
50-
# run: ./gradlew build --stacktrace
51-
5249
- name: Publish Library on Maven Central 🚀
5350
if: always() && (github.event.inputs.should-publish == 'true')
5451
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
@@ -66,12 +63,4 @@ jobs:
6663
release_name: ${{ github.ref }}
6764
draft: true
6865
env:
69-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70-
71-
- name: Publish to GitHub Packages 🚀
72-
if: always() && (github.event.inputs.should-publish == 'true')
73-
run: ./gradlew :reusablecomponents:publish
74-
env:
75-
GITHUB_USERNAME: ${{ github.actor }}
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
RELEASE_VERSION: ${{ github.event.inputs.release-version }}}
66+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)