Skip to content

Commit

Permalink
Merge pull request #1 from trytodupe/main
Browse files Browse the repository at this point in the history
Create gradle-publish.yml
  • Loading branch information
trytodupe authored Mar 7, 2024
2 parents a411dd8 + c1bbaa7 commit 410ab63
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'temurin'
cache: gradle
- name: Grant Gradle Permission
run: chmod +x gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: setupCiWorkspace build
- name: Upload Build Artifact
uses: actions/upload-artifact@v2
with:
name: ShowSpawnTime
path: build/libs/*.jar

0 comments on commit 410ab63

Please sign in to comment.