Skip to content
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

Rewrite build script #5091

Merged
merged 20 commits into from
Jan 8, 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
15 changes: 10 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ jobs:
runs-on: ubuntu-latest
RacoonDog marked this conversation as resolved.
Show resolved Hide resolved

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- name: Checkout Repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- run: chmod +x gradlew

- name: Set up Node JS
uses: actions/setup-node@v3
RacoonDog marked this conversation as resolved.
Show resolved Hide resolved
with:
Expand All @@ -45,7 +51,6 @@ jobs:
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}


- name: Publish
run: ./gradlew publish -Pcommit=${{ github.sha }} -Pdevbuild=${{ steps.dev-build.outputs.number }}
env:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/issue-moderator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ jobs:
issue-moderator:
runs-on: ubuntu-latest
RacoonDog marked this conversation as resolved.
Show resolved Hide resolved
steps:
- uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Automatically close issues that don't follow the issue template
uses: lucasbento/[email protected]
with:
Expand All @@ -20,4 +24,3 @@ jobs:
@${issue.user.login}: hello! :wave:
This issue is being automatically closed because it does not follow the issue template."
closed-issues-label: "invalid"

14 changes: 10 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- name: Checkout Repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- run: chmod +x gradlew

- name: Publish
run: ./gradlew publish
16 changes: 11 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- name: Checkout Repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'

- run: chmod +x gradlew

- name: Build
run: ./gradlew build

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pull-request-build
path: build/libs/
180 changes: 0 additions & 180 deletions build.gradle

This file was deleted.

Loading
Loading