Commit Graph

69 Commits

Author SHA1 Message Date
Christian Koop
8db3aa109d
feat: add nms submodule for Minecraft 1.21 support 2024-06-21 21:27:51 +02:00
Christian Koop
daffc4bf9e
ci: configure SFTP-Cache for SpraxDev/Action-SpigotMC
This a freshly released feature that should reduce the build times noticeably
2024-05-09 21:53:46 +02:00
Christian Koop
89c3d876ef
ci: configure actions/setup-java to not overwrite maven's settings.xml
Builds started failing since 06bd403670, where
actions/setup-java v21 was added for Spigot 1.20.5, which overwrote the credentials for publishing artifacts to the repo
2024-05-09 21:42:28 +02:00
Christian Koop
044f28ce25
ci: build older spigot versions with Java 17 2024-05-09 21:41:09 +02:00
Christian Koop
a7f7bdfc2b
feat: Add Spigot 1.20.6 support 2024-05-01 23:09:10 +02:00
Christian Koop
06bd403670
feat: add support for spigot 1.20.5 / v1_20_R4 2024-05-01 23:01:22 +02:00
Christian Koop
67ff01ae0a
docs: Removes Craftaro+-URL from FUNDING.yml 2024-03-26 20:39:35 +01:00
Christian Koop
51b720225d
chore(deps): Updates SpraxDev/Action-SpigotMC from v4 to v5 2024-03-26 20:39:34 +01:00
Christian Koop
87db6cc5b7
ci: Fix potentially problematic increment_version value 2024-02-26 12:04:49 +01:00
dependabot[bot]
b1178b4aec
Bump actions/cache from 3 to 4 (#91)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 08:24:32 +01:00
dependabot[bot]
02ad1645bf
Bump actions/upload-artifact from 3 to 4 (#90)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 14:04:04 +01:00
dependabot[bot]
f893864fae
Bump github/codeql-action from 2 to 3 (#89)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 14:03:49 +01:00
Christian Koop
12c22c29fc
Compile v1_20_R3 nms module with Spigot 1.20.4 2023-12-10 17:45:57 +01:00
Christian Koop
3da2a106ff
feat: Implements v1_20_R3 nms module for Spigot 1.20.3 compatibility 2023-12-06 16:54:46 +01:00
Christian Koop
5fedd0a2b5
feat: Adds support for Spigot 1.20.2 (v1_20_R2)
#70
2023-10-17 17:20:44 +02:00
dependabot[bot]
20a10c3551
Bump actions/checkout from 3 to 4 (#69)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 22:15:43 +02:00
Christian Koop
a11c6aa691
GitHub Actions: Don't increment snapshot versions on dev branch 2023-06-17 14:37:53 +02:00
Christian Koop
2c6273c1b5
Compile v1_20_R1 nms module with Spigot 1.20.1 instead of 1.20 2023-06-14 21:34:05 +02:00
Christian Koop
61205da3b4
GitHub Actions: Updates some mentions of Songoda to represent rename 2023-06-11 00:41:05 +02:00
Christian Koop
4937fb7c44
Adds NMS module for Spigot v1_20_R1 2023-06-11 00:37:11 +02:00
Christian Koop
d695b8c1bd
Updates FUNDING.yml to point to Craftaro+ and remove Patreon 2023-06-10 22:50:20 +02:00
Christian Koop
346b621c1b
GitHub Actions: Updates the names of some secrets/variables in use 2023-05-23 20:49:30 +02:00
Christian Koop
22cfd623de
GitHub Actions: Updates the names of some secrets/variables in use 2023-05-23 20:06:39 +02:00
Christian Koop
e3153653ff
GitHub Actions: Updates projectKey and organization for SonarCloud
I've editted the organisation on SonarCloud and the organisation key changed.
2023-05-07 20:02:29 +02:00
Christian Koop
fa355cbdcc
GitHub Actions: Don't trigger SonarCloud for PRs but workflow_dispatch
They turns green if the PR comes from an outside collaborator because all steps
are skipped if the SONAR_TOKEN is not set.

I'd rather not run static analysis on PRs overall than having it turn out green.
2023-05-07 19:00:12 +02:00
Christian Koop
f00f157bfb
GitHub Actions: Updates actions/checkout from v2 to v3
Somehow Dependabot errors out when trying to check for updates
2023-05-07 18:40:27 +02:00
Christian Koop
55d4c7036b
GitHub Actions: Remove listening for pushes to development-v3 branch
The branch does not longer exist and has been merged
2023-05-07 18:25:34 +02:00
Christian Koop
a78c2a832e
GitHub Actions: Only deploy to maven repo on push event and not PRs 2023-05-07 18:25:00 +02:00
Christian Koop
edb62751ba
GitHub Actions: Set increment_version to patch outside of tags
When we release v.2.20.1 and add a commit, v2.20.1-SNAPSHOT is published,
which is not the correct version.
patch-level isn't right either always, but I think that's a good compromise for now.
2023-05-07 14:58:43 +02:00
Christian Koop
6d8c3beeb3
Merge branch 'development' into development-v3 2023-03-16 19:07:54 +01:00
Christian Koop
52f6c42266
Adds NMS Module v1_19_R3 for Spigot 1.19.4 compatibility 2023-03-16 09:46:40 +01:00
Christian Koop
f38296e4b1
GitHub Actions: Adds Spigot 1.18 + 1.19.3 to SonarCloud 2022-12-29 12:24:05 +01:00
Christian Koop
dcd6967828
GitHub Actions: Adds Spigot 1.19.3 to the setup-action to compile it 2022-12-29 11:28:17 +01:00
Christian Koop
c728c5fcc7
GitHub Actions: Adds Spigot 1.19.3 to the setup-action to compile it 2022-12-29 11:25:54 +01:00
Christian Koop
d939489861
Use 1.18-R0.1-SNAPSHOT instead of 1.18 in NMS-v1_18_R1 module 2022-12-25 22:49:39 +01:00
Christian Koop
00789921a3
Revert "GitHub Actions: Skip automated tests when running SonarCloud"
This reverts commit 59f4adfc6f.

We need the tests to generate the test coverage report. Didn't think of that.
2022-11-26 20:27:20 +01:00
Christian Koop
e2194e0dec
GitHub Actions: Adds missing empty line between steps in sonarcloud.yml 2022-11-26 20:26:01 +01:00
Christian Koop
59f4adfc6f
GitHub Actions: Skip automated tests when running SonarCloud
The build pipeline already runs the tests. I think it makes sense to run SonarCloud's static
code analysis when the project can be compiled without errors.
2022-11-26 15:36:29 +01:00
Christian Koop
6c6c3e950c
GitHub Actions: Enable build and sonarcloud workflow for v3-dev-branch 2022-11-26 00:01:00 +01:00
Christian Koop
5a7a3d052d
Cleanup YAML in .github/dependabot.yml 2022-11-25 23:59:56 +01:00
Christian Koop
954c5024a9
Reverts 'GitHub-Actions: Force Spigot 1.19.2 recompilation'
d51f72977b
2022-09-04 19:43:28 +02:00
Christian Koop
d51f72977b
GitHub-Actions: Force Spigot 1.19.2 recompilation
The non-mapped version is currently cached and thus not getting
recompiled. This is a temporary *fix* for that
2022-09-04 19:24:50 +02:00
l3st4tDevelopment
4800d69829
Add 1.19.2 to workflow 2022-09-03 03:01:17 -04:00
Christian Koop
fc2aefdd9e
Add full support for Minecraft 1.19.0, 1.19.1 and 1.19.2
Between 1.19.0 and 1.19.1 the NMS version did not change
although implementations changed
2022-08-28 18:43:20 +02:00
Christian Koop
e96cb5426d
Migrate v1_18_R1 NMS module to use remapped-spigot at compile-time 2022-08-28 16:54:29 +02:00
Christian Koop
76b3dc6682
Dependabot: Configure the target branch to be development 2022-08-19 10:53:17 +02:00
Christian Koop
7b775a1db3
GitHub-Actions: Fix Discord webhook URL used 2022-08-19 10:52:49 +02:00
Christian Koop
5e1f1b802c
Introduce new CI/CD pipeline using GitHub Actions
A lot is happening in this release!

tl;dr: GitHub Actions runs tests, compiles the project, signs the jar files, deploys them to the Maven repo; Pushing a git tag issues a release instead of snapshot deployment; -SNAPSHOT is always added to the version otherwise; Core Version is now injected by maven instead of manually updating it in one of the classes


We now use GitHub Actions to run automated tests, compile the project, sign the resulting jar files, and always deploy a version to the Maven repo.
By default, a snapshot release is published but by creating a git tag, a release deploy can be triggered.

Additionally the Core version is not manually updated in one of the classes but injected after compiling it.
I think I found the most stable and easiest way to do this in maven,
although I'd have wished for it to be easier and maybe not after the class file has already been created.
2022-08-07 19:33:38 +02:00
Christian Koop
d5a63fd38a
GitHub-Actions: Fix missing Spigot 1.19 for SonarCloud Workflow 2022-06-07 19:53:49 +02:00
Christian Koop
fc658d51c0
Adds Spigot 1.19 NMS module 2022-06-07 19:31:32 +02:00