Skip to content

Update README.md

Update README.md #1

Workflow file for this run

name: Build and Release
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: 8
- name: Clean Maven
run: mvn clean
- name: Install dependencies and build
run: mvn install
- name: Run Jar
run: java -jar target/ForgeServerJAR.jar
release:
name: Create Release
runs-on: ubuntu-latest
needs: build
steps:
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: |
target/ForgeServerJAR.jar
token: ${{ secrets.GITHUB_TOKEN }}
release_name: Release ${{ github.run_number }}
draft: false
prerelease: false