Skip to content

Add github essentials #1

Add github essentials

Add github essentials #1

Workflow file for this run

name: Build CloudNet Pull Pilot
on:
push:
branches:
- main
jobs:
build:
# Run on all label events (won't be duplicated) or all push events or on PR syncs not from the same repo
if: github.repository_owner == 'OneLiteFeatherNET'
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
cache: gradle
java-version: 17
- name: Clean Build
run: ./gradlew clean build jar
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: CloudNet-Pull-Pilot Archive
path: build/libs/CloudNet-Pull-Pilot-*.jar