Skip to content

Commit 8f4d8f5

Browse files
committed
rework docs
1 parent 0522b3c commit 8f4d8f5

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

.github/WORKFLOW_UPDATES.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Workflow Updates Summary
2+
3+
## Changes Made
4+
5+
All GitHub Actions workflows have been updated to use **Java 21** instead of Java 17.
6+
7+
### Updated Workflows
8+
9+
1. **build-and-release.yml**
10+
- Build job: Java 17 → Java 21
11+
- Release job: Java 17 → Java 21
12+
- Auto-release job: Java 17 → Java 21
13+
14+
2. **maven-ci.yml**
15+
- Java version matrix: [17, 21][21]
16+
- Artifact upload condition updated to Java 21
17+
18+
3. **codeql-analysis.yml**
19+
- Security scan job: Java 17 → Java 21
20+
21+
4. **publish-maven.yml**
22+
- Maven deploy job: Java 17 → Java 21
23+
24+
### Additional Fix
25+
26+
**BungeeCord Dependency Issue Resolved**
27+
- Changed `bungeecord.version` from `1.20-R0.3-SNAPSHOT` to `1.20-R0.2` (stable release)
28+
- SNAPSHOT versions are not available in public Maven repositories
29+
- The stable release version will prevent build failures in GitHub Actions
30+
31+
## Testing
32+
33+
The workflows will now:
34+
- Use Java 21 for all builds
35+
- Build successfully without dependency resolution errors
36+
- Automatically create releases on tagged commits (v*)
37+
- Automatically create development builds on pushes to main/master
38+
- Publish to AstroidMC Maven repository when triggered
39+
40+
## Next Steps
41+
42+
1. Commit and push these changes
43+
2. Verify workflows run successfully on GitHub
44+
3. Set up the following GitHub Secrets for Maven publishing:
45+
- `ASTROIDMC_MAVEN_USERNAME`
46+
- `ASTROIDMC_MAVEN_PASSWORD`
47+
48+
## Workflow Triggers
49+
50+
- **build-and-release.yml**: Runs on push to main/master, tags (v*), and pull requests
51+
- **maven-ci.yml**: Runs on push/PR to main/master/develop branches
52+
- **codeql-analysis.yml**: Runs on push/PR to main/master and weekly on Mondays
53+
- **publish-maven.yml**: Runs on releases or manual dispatch
54+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<slf4j.version>2.0.9</slf4j.version>
5858
<lombok.version>1.18.30</lombok.version>
5959
<paper.version>1.21-R0.1-SNAPSHOT</paper.version>
60-
<bungeecord.version>1.20-R0.3-SNAPSHOT</bungeecord.version>
60+
<bungeecord.version>1.20-R0.2</bungeecord.version>
6161
</properties>
6262

6363
<repositories>

0 commit comments

Comments
 (0)