Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexeption authored Feb 1, 2023
1 parent f51e502 commit a4115ec
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup JDK 16
uses: actions/setup-java@v3
with:
java-version: '16'
distribution: 'adopt'
- name: Build
run: chmod +x gradlew && ./gradlew build
- uses: actions/upload-artifact@v3
if: github.event_name == 'workflow_dispatch'
with:
name: Compiled-files
path: build/libs/*.jar


0 comments on commit a4115ec

Please sign in to comment.