* added resource pack for the old create copper textures, reverted the new models of the greate pumps
* I can't remember why I added this
* added back ad astra oxygen loader JEI page, removed greate haunting + ae2 entropy
* corrected average temp in orbits, since spacesuits have ambiental compat now
* nerfed VI centrifuge times
* adjusted recipes of crushing wheels to need a machine hull now
* disabled orbits
* added rock duping recipes for vanilla basalt, added greenhouse recipe for spore blossom
* updated steam n rails, added entityjs
* fix typo on gas tanks
* cleanup
* started moon rabbit entity
* nerfed the steam age fire clay recipe because let's be real
* ah fuck it I'll be nice
* Steam N Rails loottable (#1220)
fix for the conductor
Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
* merging langs
* idk entity stuff
* lang keys
* removed ae2-things
* I think that's a better tagline
Signed-off-by: Pyritie <pyritie@gmail.com>
* - Lots of ui updates. And a couple fixes. (#1221)
Co-authored-by: Pyritie <pyritie@gmail.com>
* Update README.md
* added pt_br ore field guide pages
* Changes the greg wood plank and treated wood plank recipes to follow a more realistic processing chain (#1223)
* adds MDF, reworks treated wood and normal wood plate crafting chains
* removes treated wood plank from the minecraft:planks tag
* changed a few create recipes to need bolts instead of screws
* adjusted the water wheel recipe again so it's not quite so evil
* quest tweaks
* fixed the lathe not making gem rods, also lens stuff
* removed the other ad astra material components (for now)
* fixed the vibrating table with rose quartz
* Some small stuff (#1225)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* updated kubejs-tfc
* Delete fabricDefaultResourcePacks.dat
* .gitignore
* .gitignore
* update: config
* Modern markings integration (#1228)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* hid the tfg icon from jei
* more fiddling with the moon rabbit houses. I'm just gonna disable them until I find out what's causing the boxes under them, they look too ugly otherwise
* added a bunch of plants from Better End, tags, recipes, license, credits (#1229)
* convert the nether mushrooms into the new plant block builder type too
* now only the recipes that use 8 inputs actually use 8 fertiliser
* don't need you
* fixed the lightblooms from spawning on top of each other
* I am stupid
* oh yeah, kubejs-tfc fixed this
* nerfed the steam age coke oven brick a little
* fixed ethane quest requiring plant ball route
* the moon and orbits are now silent
* disabled the correct planets
* added earth orbit space station
* unused
* fix ae2 certus quartz compressor recipe warning
* dunno how that happened
* some tidying
* disable steam/combustible/gas generators on other dims?
* updated entityjs, everycomp, moonlight, packetfixer, vintageimprovements
* added missing sand pile models
* comma
* dimension settings, planet renderer, etc
* removes any other integrated create recipes from greate machines
* removed forgiving world, added simply stacked dimensions, added configs (#1233)
* replaced all our water input fluids with a tag, so river water works too
* fixed missing recipes for create deco ladders
* langs
* cheese
* adding greenhouse tier bonuses + fixing the fertilised recipes chanced outputs consistency
* oxygenated climate stuff
* changing some other recipes to use bolts instead of nuggets
* Updated stromatolite textures + some new venus foliage (#1234)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* langs, closes #1231
* these are handled by the decorative plant block builder now
* sea and spring water now also freeze in space
* added recipe to smelt wrought iron ingots back into cast iron in case you need them in that state
* ukranian langs
* ukranian translations for the field guide ore veins
* blacklisting super chests from contraptions
* oops
* moon cheese tags
* Moved some items from tfg-core (#1242)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* ukranian field guide ore vein langs
* Updated textures for tier-1 rocket and food oven. (#1246)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* changed the moonbase flag to use the new icon
* langs
* 🐇
* Mechanical press (#1243)
* welcome back, mechanical press
* EMI category order
* langs
* quests
* emi categories
* quests
* greate stress settings for the mech press
* I got distracted so I guess these are on this branch now
* removed welding recipes from the pressurizer
* recipe additions and changes for the mech press!
* let's go gambling!
* added flux to the mech press "welding" recipes
* flag changes again
* stops a future version of greate from generating a bender-to-mech-press recipe for double ingots
* fixed the FE cables still being in the loot chests
* desh needs an EBF now
* Updated more textures for ad-astra stuff + new panorama (#1247)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* Crop stuff for biodiesel, works on my machine . (#1248)
* Added the crop stuff I made so far
* I think thiss should be fine?
* I litteraly have no idea what I am doing
* I hope this fixes everything
---------
Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
* oops we had two fluix blocks
* langs
* sorry, no floor alcohol on the moon
* cleanup of #1248
Related Work Items: #12
* bottle labels can use any wax
* seed oil can be used in lamps now, added recipes to get it early
* missing uses for clean foil packs
* pakku updates, removed entityjs (for now), added ad-astra-3d
* added create factory logistics
* forgot some ore processing forge hammer recipes
* I think that's the ore processing chapter sorted
* ah screw it, orbits
* replace wood dust for carbon in biomass distillation
* langs n quests
* made solars worse on earth
* space food tag
* gave calorie paste a little nutrition
* made the space station quest optional
* changelog
* tweaks and balances after playtesting a bit
* let's give these more fruits
* made these a little more spread out
* some more tweaks
* langs
* Biodiesel Stuff (#1249)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* added bio fuel quests, more biodiesel recipes
* fixes #1240
Related Work Items: #12
* excluded ad astra and advanced peripherals books
* this stupid quest that I hate
* clean up this infinite resources entry
* fixed blockstates
* field guide
* got the oil crops all working!
* langs
* moon bedrock veins
* langs
* buffing air distributor again
* apparently 9 inputs is the maximum, so no flux allowed
* seed oil now lasts as long as soybean oil in a lamp
* oops, greate's update meant all our macerator removals stopped working
* fixes #1203 and some other incorrect/missing food recipes
* Quest changes (#1251)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
* - Quests re-ordering and some new ones
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* tweaks to default keybinds
* Hide wild crops and forgot to push some quest stuff (#1252)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
* - Quests re-ordering and some new ones
* - Hide wild crops from emi
* - Hide wild crops from emi
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* pakku update
* it's ok xikaro it's just adding a credit line
Signed-off-by: Pyritie <pyritie@gmail.com>
* Moon rabbit meat stuff (#1254)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
* - Quests re-ordering and some new ones
* - Hide wild crops from emi
* - Hide wild crops from emi
* - Moon rabbit meat
* - Moon rabbit meat
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* Feature/new molds (#1253)
* Update recipes.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update constants.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update recipes.molds.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update recipes.materials.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update recipes.materials.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
---------
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: Pyritie <pyritie@gmail.com>
* delete chisel and bits
* this damn loot table
* removed cast iron tongs
* more unification for #898, also a workaround for #963 maybe?
* quests
* removed power tool recycling recipes because of duping, fixed crafting table spring recipes
* whoops
* changed the repeatable quest to a separate one, so new players still get the books on spawn
* fixed orbit structures
* renamed tfc grooming stations
* removed sunsets in all orbits, cleaned up the dim files
* firmalife update!
* no idea if this is fixed in GT7 or not, but the nano/quark armor has actual armor points now
* rename horse crank to animal crank
* changelog
* updated domum
* wire cutter mold and Hypertube compat (#1258)
* Update constants.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update recipes.molds.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Create hypertube.png
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Create recipes.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update main_server_script.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update recipes.js
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
---------
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add recipe for Bamboo Hopper. Add quest for it too
* species update! also some biome spawn rates of limpets, and adding create hypertubes to pakku
* pakku again
* Machine casings for Tom and moon rabbit meat stuff I forgot to push (#1259)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
* - Quests re-ordering and some new ones
* - Hide wild crops from emi
* - Hide wild crops from emi
* - Moon rabbit meat
* - Moon rabbit meat
* - Moon rabbit meat textures and casings for tom
* - models
* - oops
* - rocket
* - ooops
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* argh
* whoops
* fiiiiiiine
* fixed unobtainable cobalt brass buzzsaw before mv
* quests
* firmalife quests
* added programmed circuit card
* 🍰🎂
* langs
* hide these species recipes
* unhide these new pearls
* remove ender eye, added vitrified ender pearl
* Added dry ice support for lunchboxes (#1262)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
* - Quests re-ordering and some new ones
* - Hide wild crops from emi
* - Hide wild crops from emi
* - Moon rabbit meat
* - Moon rabbit meat
* - Moon rabbit meat textures and casings for tom
* - models
* - oops
* - rocket
* - ooops
* - Added dry ice support for lunchboxes
* - Fixed soybean oil quest
* - Added dry ice block
* - Assets for dry ice block
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* fixed amounts in kaolinite chem reaction, added ruby version
* changed combustion recipes to be dimension-limited again
* changelog
* well actually it's not done yet
* create 6 configs
* langs
* fixed some damascus steel stuff still showing up
* fixed the wild rapeseed/sunflowers not dropping their products
* update pakku
* update pakku
* fixed extruder mold recipe
* fucking gregtech
* langs
* orbit dim markers
* Moon quest update (#1266)
* Changes for quests LV MV Energy Chapter
* Fix AE2 and Solar Panel
* Revert HV change
* Feature/hopper retexture (#1267)
* Create bamboo_hopper.png
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Create bamboo_hopper.bbmodel
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Add files via upload
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
---------
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* langs
* Update hv__high_voltage.snbt (#1268)
Signed-off-by: TomPlop <tomdidome@gmail.com>
* quests, langs, slight change to the vitrified pearl recipe
* Adding Ad Astra block to gt facade (#1269)
Signed-off-by: TomPlop <tomdidome@gmail.com>
* Bronze variant Mortars (#1270)
* Removed infinite lava and fixed refrigerant recipes (#1271)
* - Lots of ui updates. And a couple fixes.
* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.
* - Added assembler recipes for multiblock tank parts.
* - Updated Changelog
* - Some more UI tweaks.
- Added modern-markings mod with integration.
* - Updated stromatolite textures
- Added some more WIP venus foliage
* - Moved some blocks over from tfg-core.
* - Updated textures for tier-1 rocket and food oven.
* - Updated textures for more ad-astra stuff + new panorama
* - Biodiesel stuff
* - Quests re-ordering and some new ones
* - Hide wild crops from emi
* - Hide wild crops from emi
* - Moon rabbit meat
* - Moon rabbit meat
* - Moon rabbit meat textures and casings for tom
* - models
* - oops
* - rocket
* - ooops
* - Added dry ice support for lunchboxes
* - Fixed soybean oil quest
* - Added dry ice block
* - Assets for dry ice block
* - Removed infinite lava
* - Added circuit to tetrafluoroethylene_from_chloroform recipe
* - Fixed my crack-head math
* - update Changelog
---------
Co-authored-by: Pyritie <pyritie@gmail.com>
* move: screenshots
* move: wiki
* started porting over the hv quest langs
* Adding the Large Solar Panel (#1275)
* Adding the Large Solar Panel
* Update config for Ad Astral Solar increase possible output
* fix conflict
* quarktech stuff works as a space suit, though you'll still need the chestplate (for now)
* langs
* update pakku
* move: title + icon modern
* revert: move sources
* revert: images
* rename: curseforge_gallery
* Adding the LSP Structure (#1276)
Oups
Signed-off-by: TomPlop <tomdidome@gmail.com>
* Adding recipe type for LSP (#1277)
Signed-off-by: TomPlop <tomdidome@gmail.com>
* langs, disabled unused casings
* fixed kaolinite steam machine consistency
* quest tweaks
* fixed naming of casing blocks
* added LSP to space survival chapter
* added HS crushing wheels to HV tab too
* gonna kill this page - lava is no longer infinite, stone dusts are nerfed to be not very good, and the terrariums will be going away in the future
* - Added update banners (#1278)
* Revert "- Added update banners (#1278)"
This reverts commit 5f01d3385c.
* changelog
* EMI categories
* langs
* haha how did that get in there!
* q
* Update README.md (#1282)
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
* Merging guns branch (#1283)
* Feature/ulv ev guns (#1280)
* update pakku mods
* mod config stuff
* Port over of current guns
* ae2 gun recipes
* nitrocellulose and other stuff
* more recipes
* gun packs
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* Update pakku-lock.json
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
---------
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* LICENSE
* changed powderbarrel to use lumber instead of wood boards
* lang
* gunpowder unification
* emi categories
---------
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
* hid new sophisticated backpack upgrade
* pakku
* added programmed circuit card to ae2 quests
* dump
* Update forge-auto-install.txt
---------
Signed-off-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Signed-off-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Signed-off-by: TomPlop <tomdidome@gmail.com>
Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Jean Roberto de Souza <81846511+JeanRdSz@users.noreply.github.com>
Co-authored-by: Gustavo <ofoxsmith@outlook.com>
Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Xikaro <os.valerievich@ya.ru>
Co-authored-by: Kayla <66163851+kaylatheegg@users.noreply.github.com>
Co-authored-by: 34y34y34y34y34y34y34y34y34y <34y34y34y34y34y34y34y34y34y@gmail.com>
Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: Nebby1999 <nebby131999@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Nebby <78170922+Nebby1999@users.noreply.github.com>
552 lines
20 KiB
YAML
552 lines
20 KiB
YAML
name: Project Build
|
||
run-name: "📦 Project Build #${{ github.run_number }}"
|
||
on:
|
||
push:
|
||
branches:
|
||
- dev
|
||
- main
|
||
|
||
concurrency:
|
||
group: ${{ github.workflow }}-${{ github.ref }}
|
||
cancel-in-progress: true
|
||
|
||
env:
|
||
RELEASE_TYPE: "release"
|
||
MINECRAFT_VERSION: "1.20.1"
|
||
DEV_ENVIRONMENT: ${{ github.ref_name != 'main' }}
|
||
|
||
jobs:
|
||
info:
|
||
name: 🖥️ Project Info
|
||
runs-on: ubuntu-latest
|
||
outputs:
|
||
project_version: ${{ steps.check.outputs.project_version }}
|
||
project_name: ${{ steps.check.outputs.project_name }}
|
||
project_full_name: ${{ steps.check.outputs.project_name }}-${{ steps.check.outputs.project_version }}
|
||
changelog: ${{ steps.changelog.outputs.description }}
|
||
diff: ${{ steps.read_diff.outputs.diff }}
|
||
exists: ${{ steps.check.outputs.exists }}
|
||
make_release: ${{ steps.check.outputs.make_release }}
|
||
|
||
steps:
|
||
- name: Checkout
|
||
uses: actions/checkout@v4.2.2
|
||
with:
|
||
fetch-depth: 0
|
||
|
||
- name: 🔍 Check pakku-lock.json
|
||
id: check_pakku_lock
|
||
shell: bash
|
||
run: |
|
||
if [ ! -f pakku-lock.json ]; then
|
||
echo "❌ Could not find pakku-lock.json" && exit 1
|
||
else
|
||
echo "✔️ pakku-lock.json"
|
||
fi
|
||
|
||
- name: 🔍 Check pakku.json
|
||
id: check_pakku
|
||
shell: bash
|
||
run: |
|
||
if [ ! -f pakku.json ]; then
|
||
echo "❌ Could not find pakku.json" && exit 1
|
||
else
|
||
echo "✔️ pakku.json"
|
||
fi
|
||
|
||
- name: 📈 Get latest tag
|
||
id: latest_tag
|
||
shell: bash
|
||
run: |
|
||
tag=$(git describe --tags --abbrev=0)
|
||
if [ -z "$tag" ]; then
|
||
echo "❌ Latest tag not found" && exit 1
|
||
else
|
||
echo "✔️ Latest tag found: $tag"
|
||
echo "tag=$tag" >> $GITHUB_OUTPUT
|
||
fi
|
||
|
||
- name: 🔍 Check pakku-lock.json in previous tag
|
||
id: check_pakku_lock_prev
|
||
shell: bash
|
||
run: |
|
||
if git cat-file -e ${{ steps.latest_tag.outputs.tag }}:./pakku-lock.json 2>/dev/null; then
|
||
echo "✔️ File pakku-lock.json found in previous tag"
|
||
echo "file_found=true" >> $GITHUB_OUTPUT
|
||
else
|
||
echo "❌ File pakku-lock.json not found in previous tag"
|
||
echo "file_found=false" >> $GITHUB_OUTPUT
|
||
fi
|
||
|
||
- name: 📁 Check and copy pakku-lock.json from previous tag
|
||
id: check_copy_lock
|
||
if: steps.check_pakku_lock_prev.outputs.file_found
|
||
shell: bash
|
||
run: |
|
||
git show tags/${{ steps.latest_tag.outputs.tag }}:./pakku-lock.json > ./pakku-lock-prev.json
|
||
if [ -s ./pakku-lock-prev.json ]; then
|
||
echo "✔️ File pakku-lock-prev.json created"
|
||
else
|
||
echo "❌ Error: File pakku-lock-prev.json is empty or not created" && exit 1
|
||
fi
|
||
|
||
- name: 📦 Download pakku.jar
|
||
id: download_pakku
|
||
if: steps.check_pakku_lock_prev.outputs.file_found
|
||
shell: bash
|
||
run: |
|
||
curl https://github.com/juraj-hrivnak/pakku/releases/latest/download/pakku.jar -o pakku.jar -L -J
|
||
echo "✔️ Downloaded pakku.jar "
|
||
|
||
- name: 🔄 Run pakku diff
|
||
id: pakku_diff
|
||
if: steps.check_pakku_lock_prev.outputs.file_found
|
||
shell: bash
|
||
run: |
|
||
java -jar pakku.jar diff -v --markdown PROJECTS_DIFF.md ./pakku-lock-prev.json ./pakku-lock.json
|
||
if [ -f PROJECTS_DIFF.md ]; then
|
||
echo "✔️ Comparison completed"
|
||
else
|
||
echo "❌ Error: File PROJECTS_DIFF.md not created" && exit 1
|
||
fi
|
||
|
||
- name: 📝 Read PROJECTS_DIFF.md to variable
|
||
id: read_diff
|
||
if: steps.check_pakku_lock_prev.outputs.file_found
|
||
shell: bash
|
||
run: |
|
||
echo "📝 Reading PROJECTS_DIFF.md to variable..."
|
||
{
|
||
echo 'diff<<EOF'
|
||
cat -v PROJECTS_DIFF.md
|
||
echo EOF
|
||
} >> "$GITHUB_OUTPUT"
|
||
echo "✔️ Diff content read to variable"
|
||
|
||
- name: 📊 Get Pakku Info
|
||
id: pakku_info
|
||
uses: ActionsTools/read-json-action@v1.0.5
|
||
with:
|
||
file_path: "pakku.json"
|
||
|
||
- name: 📊 Get Pakku-lock Info
|
||
id: pakku_lock_info
|
||
uses: ActionsTools/read-json-action@v1.0.5
|
||
with:
|
||
file_path: "pakku-lock.json"
|
||
|
||
- name: 🔍 Check if tag exists
|
||
uses: mukunku/tag-exists-action@v1.6.0
|
||
id: check_tag
|
||
with:
|
||
tag: ${{ steps.pakku_info.outputs.version }}
|
||
|
||
- name: 📝 Determine Version
|
||
id: determine_version
|
||
shell: bash
|
||
run: |
|
||
if ${{ env.DEV_ENVIRONMENT == 'true' }}; then
|
||
echo "version=unreleased" >> $GITHUB_OUTPUT
|
||
else
|
||
echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
|
||
fi
|
||
|
||
- name: 📄 Changelog Parser
|
||
id: changelog
|
||
uses: coditory/changelog-parser@v1.0.2
|
||
with:
|
||
path: CHANGELOG.md
|
||
version: ${{ steps.determine_version.outputs.version }}
|
||
continue-on-error: true
|
||
|
||
- name: 🔍 Check
|
||
id: check
|
||
shell: bash
|
||
run: |
|
||
echo "make_release=${{ steps.check_tag.outputs.exists == 'false' && env.DEV_ENVIRONMENT == 'false' }}" >> $GITHUB_OUTPUT
|
||
echo "exists=${{ steps.check_tag.outputs.exists }}" >> $GITHUB_OUTPUT
|
||
|
||
echo "project_name=${{ steps.pakku_info.outputs.name }}" >> $GITHUB_OUTPUT
|
||
echo "project_version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
|
||
echo "release_type=${{ env.RELEASE_TYPE }}" >> $GITHUB_OUTPUT
|
||
|
||
echo "minecraft_version=${{ steps.pakku_lock_info.outputs.mc_versions }}" >> $GITHUB_OUTPUT
|
||
|
||
if ${{ env.DEV_ENVIRONMENT == 'true' && steps.changelog.outcome == 'failure' }}; then
|
||
echo "project_version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
|
||
echo "release_type=Unreleased" >> $GITHUB_OUTPUT
|
||
fi
|
||
|
||
- name: 📄 Format diff
|
||
id: format_diff
|
||
if: ${{ steps.read_diff.outputs.diff != '' }}
|
||
uses: roamingowl/template-output-with-eta@v1.12.0
|
||
with:
|
||
template: |
|
||
```markdown
|
||
${{ steps.read_diff.outputs.diff }}
|
||
```
|
||
|
||
- name: 📝 Generate Github Summary
|
||
uses: WcAServices/markdown-template-action@v1.1.1
|
||
with:
|
||
template: |
|
||
📃 **Name**: ${{ steps.check.outputs.project_name }}
|
||
📃 **Release**: `${{ steps.check.outputs.project_version }}`
|
||
📃 **Release Type**: `${{ steps.check.outputs.release_type }}`
|
||
📃 **Game Version**: `${{ steps.check.outputs.minecraft_version }}`
|
||
|
||
📃 **Dev Environment**: `${{ env.DEV_ENVIRONMENT }}`
|
||
📃 **Tag Exists**: `${{ steps.check.outputs.exists }}`
|
||
📃 **Make Release**: `${{ steps.check.outputs.make_release }}`
|
||
|
||
|
||
${{ steps.changelog.outputs.description }}
|
||
${{ steps.format_diff.outputs.text }}
|
||
|
||
|
||
build-modpack:
|
||
name: 📦 Build Modpack
|
||
needs: [info]
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: Checkout
|
||
uses: actions/checkout@v4.2.2
|
||
|
||
- name: 🔄 Replace strings
|
||
shell: bash
|
||
run: |
|
||
set +e
|
||
|
||
VERSION=${{ needs.info.outputs.project_version }}
|
||
sed -i -e "s/\"version\": \"[0-9.]*\"/\"version\": \"${VERSION}\"/g" pakku.json
|
||
sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt
|
||
|
||
- name: 📝 Cache pakku
|
||
uses: actions/cache@v4.2.3
|
||
id: cache
|
||
with:
|
||
path: build/.cache
|
||
key: pakku-cache-${{ hashFiles('pakku-lock.json') }}
|
||
restore-keys: pakku-cache-
|
||
|
||
- name: 📦 Export modpack
|
||
run: |
|
||
curl https://github.com/juraj-hrivnak/pakku/releases/latest/download/pakku.jar -o pakku.jar -L -J
|
||
java -jar pakku.jar export
|
||
|
||
- name: 📁 Rename artifact curseforge
|
||
run: |
|
||
cd ./build/curseforge/
|
||
mv *.zip $(basename -s .zip *.zip)-curseforge.zip
|
||
|
||
- name: 🚀 Upload artifact CurseForge
|
||
uses: actions/upload-artifact@v4.6.2
|
||
with:
|
||
name: ${{ needs.info.outputs.project_full_name }}-curseforge
|
||
path: ./build/curseforge/${{ needs.info.outputs.project_full_name }}-curseforge.zip
|
||
if-no-files-found: error
|
||
|
||
# - name: 📁 Rename artifact modrinth
|
||
# run: |
|
||
# cd ./build/modrinth/
|
||
# mv *.mrpack $(basename -s .mrpack *.mrpack)-modrinth.mrpack
|
||
|
||
# - name: 🚀 Upload artifact modrinth
|
||
# uses: actions/upload-artifact@v4.6.2
|
||
# with:
|
||
# name: ${{ needs.info.outputs.project_full_name }}-modrinth
|
||
# path: ./build/modrinth/${{ needs.info.outputs.project_full_name }}-modrinth.mrpack
|
||
# if-no-files-found: warn
|
||
|
||
build-server:
|
||
name: 📦 Build Server
|
||
needs: [info]
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: Checkout
|
||
uses: actions/checkout@v4.2.2
|
||
|
||
- name: 🔄 Replace strings
|
||
shell: bash
|
||
run: |
|
||
set +e
|
||
|
||
VERSION=${{ needs.info.outputs.project_version }}
|
||
sed -i -e "s/\"version\": \"[0-9.]*\"/\"version\": \"${VERSION}\"/g" pakku.json
|
||
sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt
|
||
|
||
- name: 📝 Cache pakku
|
||
uses: actions/cache@v4.2.3
|
||
id: cache
|
||
with:
|
||
path: build/.cache
|
||
key: pakku-cache-${{ hashFiles('pakku-lock.json') }}
|
||
restore-keys: pakku-cache-
|
||
|
||
- name: 📦 Export modpack
|
||
run: |
|
||
mv -vf ./.pakku/server-overrides/* ./
|
||
curl https://github.com/juraj-hrivnak/pakku/releases/latest/download/pakku.jar -o pakku.jar -L -J
|
||
java -jar pakku.jar export
|
||
|
||
- name: 📁 Rename artifact server
|
||
run: |
|
||
cd ./build/serverpack/
|
||
mv *.zip $(basename -s .zip *.zip)-serverpack.zip
|
||
|
||
- name: 🚀 Upload artifact server
|
||
uses: actions/upload-artifact@v4.6.2
|
||
with:
|
||
name: ${{ needs.info.outputs.project_full_name }}-serverpack
|
||
path: ./build/serverpack/${{ needs.info.outputs.project_full_name }}-serverpack.zip
|
||
if-no-files-found: error
|
||
|
||
build-multimc:
|
||
name: 📦 Build MultiMC
|
||
needs: [info]
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: Checkout
|
||
uses: actions/checkout@v4.2.2
|
||
|
||
- name: 🔄 Replace strings
|
||
shell: bash
|
||
run: |
|
||
set +e
|
||
|
||
VERSION=${{ needs.info.outputs.project_version }}
|
||
sed -i -e "s/\"version\": \"[0-9.]*\"/\"version\": \"${VERSION}\"/g" pakku.json
|
||
sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt
|
||
sed -i -e "s/DEV/${VERSION}/g" .pakku/multimc-overrides/instance.cfg
|
||
|
||
- name: 📝 Cache pakku
|
||
uses: actions/cache@v4.2.3
|
||
id: cache
|
||
with:
|
||
path: build/.cache
|
||
key: pakku-cache-${{ hashFiles('pakku-lock.json') }}
|
||
restore-keys: pakku-cache-
|
||
|
||
- name: 📦 Export
|
||
run: |
|
||
curl https://github.com/juraj-hrivnak/pakku/releases/latest/download/pakku.jar -o pakku.jar -L -J
|
||
java -jar pakku.jar --debug fetch
|
||
java -jar pakku.jar --debug export
|
||
|
||
- name: 📁 Move files
|
||
run: |
|
||
ls
|
||
mkdir -p .pakku/multimc-overrides/flame
|
||
mkdir -p .pakku/multimc-overrides/mods
|
||
mv -vf ./build/.cache/curseforge/manifest.json .pakku/multimc-overrides/flame/manifest.json
|
||
mv -vf ./build/.cache/curseforge/overrides .pakku/multimc-overrides/.minecraft
|
||
mv -vf ./mods .pakku/multimc-overrides/.minecraft/mods
|
||
cd .pakku/multimc-overrides/
|
||
|
||
zip -r ${{ needs.info.outputs.project_full_name }}-multimc.zip icon.png mmc-pack.json instance.cfg .minecraft/ flame/
|
||
|
||
- name: 🚀 Upload zip multimc
|
||
uses: actions/upload-artifact@v4.6.2
|
||
with:
|
||
name: ${{ needs.info.outputs.project_full_name }}-multimc
|
||
path: .pakku/multimc-overrides/${{ needs.info.outputs.project_full_name }}-multimc.zip
|
||
if-no-files-found: error
|
||
|
||
release-github:
|
||
name: 🚀 Release to GitHub
|
||
needs: [info, build-modpack, build-server, build-multimc]
|
||
runs-on: ubuntu-latest
|
||
if: ${{ needs.info.outputs.make_release == 'true' }}
|
||
outputs:
|
||
url: ${{ steps.release.outputs.url }}
|
||
|
||
steps:
|
||
- name: 📦 Checkout
|
||
uses: actions/checkout@v4.2.2
|
||
|
||
- name: 📦 Download artifact
|
||
uses: actions/download-artifact@v4.3.0
|
||
with:
|
||
merge-multiple: true
|
||
|
||
- name: 🔍 Check if artifact exist
|
||
id: check_artifact
|
||
shell: bash
|
||
run: |
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-curseforge.zip ]; then
|
||
echo '::error::No value found for artifact `curseforge.zip`.' && exit 1
|
||
fi
|
||
# if [ ! -f ${{ needs.info.outputs.project_full_name }}-modrinth.mrpack ]; then
|
||
# echo '::error::No value found for artifact `modrinth.mrpack`.' && exit 1
|
||
# fi
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-serverpack.zip ]; then
|
||
echo '::error::No value found for artifact `serverpack.zip`.' && exit 1
|
||
fi
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-multimc.zip ]; then
|
||
echo '::error::No value found for artifact `multimc.zip`.' && exit 1
|
||
fi
|
||
echo "✔️ All artifacts found"
|
||
|
||
# - name: 🚫 Сlose label "Done"
|
||
# uses: Xikaro/close-issues-based-on-label@master
|
||
# env:
|
||
# LABEL: "Status: Done"
|
||
# COMMENT: In ${{ needs.info.outputs.project_version }}
|
||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
||
- name: 📄 Format diff
|
||
id: format_diff
|
||
if: ${{ needs.info.outputs.diff != '' }}
|
||
uses: roamingowl/template-output-with-eta@v1.12.0
|
||
with:
|
||
template: |
|
||
```markdown
|
||
${{ needs.info.outputs.diff }}
|
||
```
|
||
|
||
- name: 🚀 Create release
|
||
id: release
|
||
uses: softprops/action-gh-release@v2.3.2
|
||
with:
|
||
name: ${{ needs.info.outputs.project_version }}
|
||
tag_name: ${{ needs.info.outputs.project_version }}
|
||
target_commitish: ${{ github.ref_name }}
|
||
body: |
|
||
${{ needs.info.outputs.changelog }}
|
||
${{ steps.format_diff.outputs.text }}
|
||
files: |
|
||
${{ needs.info.outputs.project_full_name }}-curseforge.zip
|
||
${{ needs.info.outputs.project_full_name }}-serverpack.zip
|
||
${{ needs.info.outputs.project_full_name }}-multimc.zip
|
||
prerelease: ${{ env.RELEASE_TYPE != 'release' }}
|
||
generate_release_notes: true
|
||
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
||
release-curseforge:
|
||
name: 🚀 Release to CurseForge
|
||
needs: [info, build-modpack, build-server, release-github]
|
||
runs-on: ubuntu-latest
|
||
if: ${{ needs.info.outputs.make_release == 'true' }}
|
||
outputs:
|
||
id: ${{ steps.release.outputs.id }}
|
||
|
||
steps:
|
||
- name: 🔒 Check if CURSEFORGE_TOKEN exist
|
||
shell: bash
|
||
run: |
|
||
if [ "${{ secrets.CURSEFORGE_TOKEN }}" == '' ]; then
|
||
echo '::error::No value found for secret key `CURSEFORGE_TOKEN`. See https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository' && exit 1
|
||
fi
|
||
|
||
- name: 📦 Download artifact
|
||
uses: actions/download-artifact@v4.3.0
|
||
with:
|
||
merge-multiple: true
|
||
|
||
- name: 🔍 Check if artifact exist
|
||
id: check_artifact
|
||
shell: bash
|
||
run: |
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-curseforge.zip ]; then
|
||
echo '::error::No value found for artifact `curseforge.zip`.' && exit 1
|
||
fi
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-serverpack.zip ]; then
|
||
echo '::error::No value found for artifact `serverpack.zip`.' && exit 1
|
||
fi
|
||
echo "✔️ All artifacts found"
|
||
|
||
- name: 🚀 Upload Curseforge
|
||
id: release
|
||
uses: Xikaro/upload-curseforge-modpack-action@1.1.1
|
||
with:
|
||
api-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
||
project-id: ${{ vars.CURSEFORGE_ID }}
|
||
display-name: ${{ needs.info.outputs.project_full_name }}
|
||
modpack-path: ${{ needs.info.outputs.project_full_name }}-curseforge.zip
|
||
server-display-name: ${{ needs.info.outputs.project_full_name }}-serverpack
|
||
modpack-server-path: ${{ needs.info.outputs.project_full_name }}-serverpack.zip
|
||
changelog: |
|
||
${{ needs.info.outputs.changelog }}
|
||
${{ needs.info.outputs.diff }}
|
||
changelog-format: markdown
|
||
game-version: ${{ env.MINECRAFT_VERSION }}
|
||
release-type: ${{ env.RELEASE_TYPE }}
|
||
|
||
release-modrinth:
|
||
name: 🚀 Release to Modrinth
|
||
needs: [info, build-modpack, build-server, release-github]
|
||
runs-on: ubuntu-latest
|
||
if: false
|
||
outputs:
|
||
id: ${{ steps.release.outputs.id }}
|
||
|
||
steps:
|
||
- name: 🔒 Check if MODRINTH_API_TOKEN exist
|
||
shell: bash
|
||
run: |
|
||
if [ "${{ secrets.MODRINTH_TOKEN }}" == '' ]; then
|
||
echo '::error::No value found for secret key `MODRINTH_TOKEN`. See https://docs.github.com/en/ actionssecurity-guides/ encrypted-secrets#creating-encrypted-secrets-for-a-repository' && exit 1
|
||
fi
|
||
|
||
- name: 📦 Download artifact
|
||
uses: actions/download-artifact@v4.3.0
|
||
with:
|
||
merge-multiple: true
|
||
|
||
- name: 🔍 Check if artifact exist
|
||
id: check_artifact
|
||
shell: bash
|
||
run: |
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-modrinth.mrpack ]; then
|
||
echo '::error::No value found for artifact `modrinth.mrpack`.' && exit 1
|
||
fi
|
||
if [ ! -f ${{ needs.info.outputs.project_full_name }}-serverpack.zip ]; then
|
||
echo '::error::No value found for artifact `serverpack.zip`.' && exit 1
|
||
fi
|
||
echo "✔️ All artifacts found"
|
||
|
||
- name: 🚀 Upload Modrinth
|
||
id: release
|
||
uses: Xikaro/upload-curseforge-modpack-action@1.1.1
|
||
with:
|
||
api-token: ${{ secrets.MODRINTH_TOKEN }}
|
||
project-id: ${{ vars.MODRINTH_ID }}
|
||
modpack-path: ${{ needs.info.outputs.project_full_name }}-modrinth.mrpack
|
||
modpack-server-path: ${{ needs.info.outputs.project_full_name }}-serverpack.zip
|
||
changelog: ${{ needs.info.outputs.changelog }}
|
||
changelog-format: markdown
|
||
game-version: ${{ env.MINECRAFT_VERSION }}
|
||
display-name: ${{ needs.info.outputs.project_full_name }}
|
||
server-display-name: ${{ needs.info.outputs.project_full_name }}-serverpack
|
||
release-type: ${{ env.RELEASE_TYPE }}
|
||
|
||
discord-message:
|
||
name: 📱 Discord Message
|
||
needs: [info, release-curseforge, release-github]
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- name: ✂️ Truncate Changelog
|
||
id: truncated
|
||
uses: cisox/read-more-action@v1.0.2
|
||
with:
|
||
text: '${{ needs.info.outputs.changelog }}'
|
||
max_chars: '1450'
|
||
|
||
- name: 📨 Send Discord message
|
||
uses: hugoalh/send-discord-webhook-ghaction@v7.0.5
|
||
with:
|
||
key: ${{ secrets.DISCORD_RELEASES }}
|
||
username: "TerraFirmaGreg"
|
||
avatar_url: "https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/logo.png"
|
||
content_links_no_embed: .+
|
||
content: |
|
||
**Release**: `${{ needs.info.outputs.project_version }}`
|
||
**Release Type**: `${{ env.RELEASE_TYPE }}`
|
||
**Game Version**: `${{ env.MINECRAFT_VERSION }}`
|
||
|
||
[CurseForge](https://www.curseforge.com/minecraft/modpacks/terrafirmagreg-modern/files/${{ needs.release-curseforge.outputs.id }}) • [GitHub](${{ needs.release-github.outputs.url }}) • [Issues](https://github.com/${{ github.repository }}/issues)
|
||
```markdown
|
||
${{ steps.truncated.outputs.text }}
|
||
- ...```
|
||
** [Read more...](${{ needs.release-github.outputs.url }}) **
|