Skip to content

Commit 8c18f0e

Browse files
committed
Merge branch 'master' of github.com:MCSManager/fnOS-Pack
2 parents ab196b9 + ff49e56 commit 8c18f0e

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
build-and-release:
12+
name: Build Project and Create Release
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/[email protected]
20+
21+
- name: Build Package
22+
run: |
23+
chmod +x ./build/fnpack-1.0.4-linux-amd64
24+
./build/fnpack-1.0.4-linux-amd64 build mcsmanager
25+
26+
- name: Get current package version
27+
id: package-version
28+
uses: martinbeentjes/[email protected]
29+
path: mcsmanager/app/server/web
30+
31+
- name: Release
32+
uses: ncipollo/[email protected]
33+
with:
34+
tag: v${{ steps.package-version.outputs.current-version}}
35+
name: v${{ steps.package-version.outputs.current-version}}
36+
body: [CHANGELOG](https://github.com/MCSManager/MCSManager/releases/tag/v${{ steps.package-version.outputs.current-version}})
37+
artifacts: "mcsmanager.fpk"
38+
token: ${{ secrets.GITHUB_TOKEN }}

build/fnpack-1.0.4-linux-amd64

3.58 MB
Binary file not shown.

0 commit comments

Comments
 (0)