Skip to content

Merge branch '1.16' into release-1.16 #93

Merge branch '1.16' into release-1.16

Merge branch '1.16' into release-1.16 #93

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Changelog Action
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ release-1.15, release-1.16 ]
paths-ignore:
- '**.md'
pull_request:
branches: [ release-1.15, release-1.16 ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@master
- run: |
git fetch --prune --unshallow --tags
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew makeChangelog
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: Buuz135
author_email: [email protected]
message: "Updated changelog"
add: "**.md"
ref: "changelog"
force: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}