Skip to content

fix: action body

fix: action body #3

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 29, Col: 9): Unexpected value 'path'
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-release:
name: Build Project and Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build Package
run: |
chmod +x ./build/fnpack-1.0.4-linux-amd64
./build/fnpack-1.0.4-linux-amd64 build mcsmanager
- name: Get current package version
id: package-version
uses: martinbeentjes/[email protected]
path: mcsmanager/app/server/web
- name: Release
uses: ncipollo/[email protected]
with:
tag: v${{ steps.package-version.outputs.current-version}}
name: v${{ steps.package-version.outputs.current-version}}
body: |
[CHANGELOG](https://github.com/MCSManager/MCSManager/releases/tag/v${{ steps.package-version.outputs.current-version}})
artifacts: "mcsmanager.fpk"
token: ${{ secrets.GITHUB_TOKEN }}