Skip to content

Commit 3c8c987

Browse files
committed
V1.0.0
1 parent b42e51d commit 3c8c987

46 files changed

Lines changed: 2879 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
name: Build and Release
2+
3+
on:
4+
push:
5+
branches: [ master, main ]
6+
pull_request:
7+
branches: [ master, main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Java 25
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '25-ea'
22+
distribution: 'temurin'
23+
cache: maven
24+
25+
- name: Build with Maven
26+
run: mvn clean package
27+
28+
- name: Upload artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: EasyWebMap
32+
path: target/EasyWebMap-*.jar
33+
34+
release:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
38+
39+
permissions:
40+
contents: write
41+
42+
steps:
43+
- name: Download artifact
44+
uses: actions/download-artifact@v4
45+
with:
46+
name: EasyWebMap
47+
48+
- name: Generate version
49+
id: version
50+
run: echo "version=v1.0.${{ github.run_number }}" >> $GITHUB_OUTPUT
51+
52+
- name: Rename JAR
53+
run: mv EasyWebMap-*.jar EasyWebMap-${{ steps.version.outputs.version }}.jar
54+
55+
- name: Create Release
56+
uses: softprops/action-gh-release@v1
57+
with:
58+
tag_name: ${{ steps.version.outputs.version }}
59+
name: EasyWebMap ${{ steps.version.outputs.version }}
60+
body: |
61+
## EasyWebMap ${{ steps.version.outputs.version }}
62+
63+
**Commit:** ${{ github.sha }}
64+
**Released:** ${{ github.event.head_commit.timestamp }}
65+
66+
---
67+
68+
### How to Install
69+
70+
1. Download `EasyWebMap-${{ steps.version.outputs.version }}.jar` below
71+
2. Drop it in your server's `mods` folder
72+
3. Restart your server
73+
4. Open `http://localhost:8080` in your browser
74+
75+
---
76+
77+
### Features
78+
79+
| Feature | Description |
80+
|---------|-------------|
81+
| Live Map | See terrain update in real-time as blocks change |
82+
| Player Tracking | Watch players move around with direction arrows |
83+
| Player List | Click any player name to jump to their location |
84+
| Multi-World | Switch between worlds with a dropdown |
85+
86+
---
87+
88+
### Commands
89+
90+
| Command | What it does |
91+
|---------|--------------|
92+
| `/easywebmap status` | Show server status |
93+
| `/easywebmap reload` | Reload config |
94+
| `/easywebmap clearcache` | Clear tile cache |
95+
96+
files: EasyWebMap-${{ steps.version.outputs.version }}.jar
97+
draft: false
98+
prerelease: false
99+
make_latest: true

0 commit comments

Comments
 (0)