Commit Graph
58 Commits
Author SHA1 Message Date
Raven SzewczykandConnor-Colenso 87e65c226a Use shared github actions workflows (#35)
* Use shared github actions workflows

* Oops, switched the conditions around

Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>
2022-07-12 21:45:21 +07:00
MuXiu1997 b53871c2cf Update buildscript maintenance workflow (#30) 2022-06-05 18:19:43 +02:00
52bb73b6fd shellcheck (#23)
* shellcheck

* fix(script): shellcheck and refactor

* fix(scripts): rename snake_casing no .sh

Follows Google's Shell Style Guide:
https://google.github.io/styleguide/shellguide.html

Script names must use snake_casing

Remove the `.sh` extension on `chmod +x` scripts because
the shell interpreter choice is in the shebang.

The `.sh` extension is to be maintained for sourced scripts because
those are not stand-alone executables:

```sh
. sourced_script.sh # . sourcing
source sourced_script.sh # alternate syntax
```

* decomp

* Stay CI

Co-authored-by: Léa Gris <lea.gris@noiraude.net>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-02-20 18:02:33 +01:00
bombcar a71130d437 Kotlin (#19)
* spaces

* revert kotlin ver

* more framework for kotlin

* make it available to external consumers

* vscode

* update scripts to properly catch broken runserveR

* editor config

* fix recursive zips

* improve

* update links

* more cleanup
2022-02-14 15:44:40 -06:00
Jason Mitchell 46f0223898 Adds publish to GTNH Maven 2022-01-17 18:39:50 -08:00
Dmytro be36e1399d Merge pull request #51 from SinTh0r4s/setup-publishing-configuration
add publish configuration for github
2021-12-15 20:53:06 +02:00
Telan 2c72a3924d ci: update publishing in release-tags.yml workflow; revert build-and-test.yml 2021-12-13 17:29:40 +02:00
Telan 5af85c307d buildscript: fix artifact id and group id being incorrect 2021-12-13 17:20:27 +02:00
Telan 659ad055d4 buildscript: configure publication with correct parameters 2021-12-13 17:09:06 +02:00
Telan fae84dcbe0 ci: fix typo 2021-12-13 16:41:56 +02:00
Telan 5e3126770e ci: fix typo 2021-12-13 16:37:34 +02:00
Dmytro 2b14550d8f fix test publish 2021-12-13 16:19:11 +02:00
Dmytro 02b223347d ci: provide repository owner and name on publishing 2021-12-13 16:18:23 +02:00
Dmytro 5c23b1d012 ci: use wrapper when publishing tag 2021-12-13 16:10:56 +02:00
Dmytro 1420dfb862 cI: fix test publish 2021-12-13 16:10:34 +02:00
Dmytro 029275a7fc ci: use generic repository name for group 2021-12-13 16:04:02 +02:00
Dmytro 0979732423 ci: test publishing 2021-12-13 16:03:17 +02:00
Dmytro 48b397dc69 add artifact publish step to release process 2021-12-13 16:00:43 +02:00
Dmytro 71fb844748 ci: decrease server run time in test 2021-12-13 15:52:20 +02:00
Dmytro bec70198b8 fix workflow referencing moved file 2021-12-13 15:51:02 +02:00
Dmytro 74d9da327a ci: increase server running period during tests 2021-12-13 15:36:34 +02:00
Dmytro fb3beeb4db ci-persist-server-log-in-test-run 2021-12-13 15:27:18 +02:00
Dmytro af18a3d24e fix timeout in server run 2021-12-01 22:39:15 +02:00
Johann Bernhardt 27d13a6944 Remove toolchain compatibility test since Java 11 support was dropped for now 2021-12-01 20:30:35 +01:00
Dmytro ceb86c4377 removing latest tag
people depending on it will cause more trouble then it's worth
2021-11-27 21:28:30 +03:00
Telan 3d6187a192 ci: also run build and test on main branches; adjust naming 2021-11-21 21:23:52 +02:00
Telan 7a003806b8 Merge branch 'automatic-release-only-on-tags' into ensure-decompilation-tasks-use-toolchain
# Conflicts:
#	.github/workflows/release-packages-tags.yml
2021-11-21 21:22:06 +02:00
Telan 05489dee31 ci: make "latest" releases on each push to master and remove "latest" releases from tags 2021-11-21 21:20:43 +02:00
Telan c46bab50ce ci: fix timeout step failing
We don't want to fail on timeout, it's probably good if job didn't stop before timeout was reached, which means server is still working
2021-11-21 21:09:01 +02:00
Telan 09410d48d0 ci: refine naming 2021-11-21 21:01:07 +02:00
Telan f6d48a2287 ci: fix naming in toolchain-compatibility.yml; rename pull-request.yml -> build-and-test.yml; add server run check to build-and-test.yml 2021-11-21 20:58:13 +02:00
Telan 76dcb6109e Merge branch 'automatic-release-only-on-tags' into ensure-decompilation-tasks-use-toolchain
# Conflicts:
#	.github/workflows/release-packages.yml
2021-11-21 20:56:20 +02:00
Telan 3676bedbb9 ci: fix repo_token and tag expansion 2021-11-21 20:42:00 +02:00
Telan 139c3d8229 ci: fix tag name not being resolved 2021-11-21 20:38:03 +02:00
Telan 25c09c555c ci: rename job 2021-11-21 20:32:24 +02:00
Telan a02e17bc9e ci: refine release structure to work both for example mod and any derivative 2021-11-21 20:29:15 +02:00
Telan 13b5dec6d6 ci: try fixing test-crash-reports.sh permissions 2021-11-21 20:11:43 +02:00
Telan 2c27858ae5 ci: try to only setup CI workspace 2021-11-21 20:11:04 +02:00
Telan a5d5ea510a ci: workaround server crash not resulting in gradle error; add step to check generated crash report 2021-11-21 20:06:39 +02:00
Telan 0fdac33782 ci: configure automatic release only on tags 2021-11-21 19:51:19 +02:00
Telan 86de13e712 ci: add step to test toolchain compatibility with newer java version > 8 2021-11-21 19:44:37 +02:00
Johann Bernhardt e0fea4f4eb Fix typo 2021-11-17 11:35:19 +01:00
Telan 68c6e70f7c ci: only perform build script maintenance on main branches to avoid conflicts
Merge commits will have buildscript changes anyways, and with this active on all branches it will be inconvenient and require pulling things after push, so you won't get in conflict with bot update
2021-11-14 21:41:53 +02:00
Dmytro 0475c12ef3 exclude original license from starter 2021-11-13 21:17:06 +02:00
Dmytro 62e04b207f add default MIT license to starter 2021-11-13 21:05:10 +02:00
Telan 9e47698f90 run buildscript-maintenance.yml on all branch pushes 2021-11-12 20:57:53 +02:00
Telan 62988f1c0a split workflows to only release on main branches 2021-11-12 20:08:40 +02:00
Telan b49c99b008 ci: fix formatting 2021-11-12 20:01:08 +02:00
Telan 61028b6cf1 ci: configure git in separate step; specify current branch when pushing new builscript version 2021-11-12 19:57:50 +02:00
Telan f5f39138e2 ci: exclude starter and migration packages from themselves
excluding both in each step case order of steps will change
2021-11-12 19:38:49 +02:00