Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from BaseMC/update-workflow-add-automatic-release
Browse files Browse the repository at this point in the history
Update workflow / add automatic release
  • Loading branch information
litetex authored Jan 25, 2020
2 parents 985fea7 + 8adf4e1 commit b4afcc5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
branches:
- master
name-template: "v$NEXT_MINOR_VERSION"
tag-template: "v$NEXT_MINOR_VERSION"
template: |
## Changes
$CHANGES
27 changes: 27 additions & 0 deletions .github/workflows/master-pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Master PR CI

on:
pull_request:
branches:
- 'master'

jobs:
test:
name: Test - Build & Unit
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup - Java
uses: actions/setup-java@v1
with:
java-version: 11.0.x
- name: Setup - Restore Cache
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build - Gradle
run: ./gradlew build

0 comments on commit b4afcc5

Please # to comment.