Skip to content

Update deploy workflows #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
name: Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Get project version
id: get_version
shell: bash
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
name: Deploy
with:
arguments: build publishCodebookPublicationToPapermcRepository --stacktrace
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Deploy
run: ./gradlew build --stacktracebuild publishCodebookPublicationToPapermcRepository --stacktrace
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy paste issue?

env:
ORG_GRADLE_PROJECT_papermcUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_papermcPassword: ${{ secrets.NEXUS_PASSWORD }}
Expand Down