Update README.md #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name of the action | |
name: Automatic Build on Push | |
# Event to run on | |
on: | |
# Will run on every push in the "main" branch | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
# Jobs that will execute | |
jobs: | |
release: | |
name: Setup Environment, Build JAR and Release Project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Automatic Release | |
uses: Fulminazzo/java-automatic-release@v1 | |
with: | |
java-version: 8 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPOSITORY_NAME: ${{ github.event.repository.name }} | |
# Message specified in the commit | |
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} |