Update preview.yml

This commit is contained in:
Xikaro 2023-12-14 17:20:56 +05:00
parent 84f36b7e7c
commit 002bfa5783

View file

@ -44,9 +44,11 @@ jobs:
- name: Archive MMC
run: |
git submodule init
git submodule update
Username: Xikaro
Password: TFG
cd mods
git config --local credential.helper '!f() { sleep 1; echo "password=USER_TOKEN_XIKARO"; }; f'
git config --local http.https://github.com.Xikaro.extraheader "AUTHORIZATION: basic $(git credential-cache get)"
git config --local url."https://github.com/Xikaro:USER_TOKEN_XIKARO@github.com".insteadOf "https://github.com/TerraFirmaGreg-Team/TFG-Mods-1.20.x"
git submodule update --recursive
mkdir -p .minecraft
cp -r ./{config,defaultconfigs,kubejs,mods,.github/buildtools/modpack/mmc-pack.json,.github/buildtools/modpack/instance.cfg} .minecraft/
zip -r ./TerraFirmaGreg-1.20.x-${{ steps.get_version.outputs.version }}-mmc.zip .minecraft/