Skip to content

Running Build & Install action (triggered by lscgh) #19

Running Build & Install action (triggered by lscgh)

Running Build & Install action (triggered by lscgh) #19

name: "Build & Install action"
run-name: "Running Build & Install action (triggered by ${{ github.actor }})"
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: "Build print"
run: "echo Build"
- name: "Check out"
uses: actions/checkout@v4
- name: "Test maven package"
run: "cd mavenmcserver; mvn package"
- name: "Create release"
uses: actions/create-release@v1
id: create-release
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
draft: false
prerelease: true
tag_name: "release"
release_name: "Release ${{ github.ref }}"
body: |
Automatically generated
Install:
runs-on: ubuntu-latest
steps:
- name: "Install print"
run: "echo Install"