Skip to content

Commit

Permalink
Update github publish
Browse files Browse the repository at this point in the history
We might not actually need this action any more since "publish" now seems to publish to multiple places
  • Loading branch information
gbrail committed May 4, 2024
1 parent 22557a6 commit ade38dc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/publish-github.yml
Expand Up @@ -24,13 +24,9 @@ jobs:
distribution: 'adopt'
server-id: github
settings-path: ${{ github.workspace }}
- name: Set up Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Publish
env:
ORG_GRADLE_PROJECT_mavenUser: ${{ github.actor }}
ORG_GRADLE_PROJECT_mavenPassword: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
run: >-
./gradlew publish
-PmavenReleaseRepo="https://maven.pkg.github.com/mozilla/rhino"
-PmavenSnapshotRepo="https://maven.pkg.github.com/mozilla/rhino"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew publish

0 comments on commit ade38dc

Please sign in to comment.