forked from NCBPFluffyBear/FluffyMachines
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 818 Bytes
/
Copy pathbuild-dev.yml
File metadata and controls
36 lines (29 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build Development
on:
push:
branches: [master]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Build
run: mvn package --file pom.xml
- name: Extract repository name
run: echo "NAME=$(basename ${{ github.repository }})" >> $GITHUB_ENV
- name: Upload Build
uses: marvinpinto/action-automatic-releases@master
with:
title: "${{ env.NAME }}"
automatic_release_tag: "latest"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "target/*.jar"
prerelease: false