mirror of
https://github.com/Astatin3/meteorbot-old.git
synced 2026-06-09 00:28:06 -06:00
Initial commit
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
name: Publish Development Build
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: adopt
|
||||
- name: Build
|
||||
run: ./gradlew build
|
||||
- name: Release
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
automatic_release_tag: latest
|
||||
prerelease: true
|
||||
title: Dev Build
|
||||
files: |
|
||||
./build/libs/*.jar
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
name: Build Pull Request
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: adopt
|
||||
- name: Build
|
||||
run: ./gradlew build
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2.2.4
|
||||
with:
|
||||
name: build-artifacts
|
||||
path: build/libs
|
||||
Reference in New Issue
Block a user