Skip to content

Remove some unused codes. #647

Remove some unused codes.

Remove some unused codes. #647

Workflow file for this run

name: Pre-Build
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Make Gradle Wrapper Executable
run: chmod +x ./gradlew
working-directory: ${{ github.workspace }}
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build
id: build
uses: gradle/gradle-build-action@v2
with:
arguments: build publish
env:
SNAPSHOT: true
ORG_GRADLE_PROJECT_mavenUsername: ${{ secrets.NEXUS_USER }}
ORG_GRADLE_PROJECT_mavenPassword: ${{ secrets.NEXUS_PASSWORD }}
- name: Build Artifact
uses: actions/upload-artifact@v3
with:
name: TheAurorian
path: |
build/libs/