Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq authored Jan 7, 2024
1 parent 83a735a commit 5563d3f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Set up JDK
uses: actions/setup-java@main
with:
java-version: 17
distribution: temurin
- name: Build GSit
run: ./gradlew clean build
- name: Release GSit
uses: marvinpinto/action-automatic-releases@master
with:
title: "GSit"
automatic_release_tag: "build"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "build/libs/*.jar"
prerelease: true

0 comments on commit 5563d3f

Please sign in to comment.