Update preview.yml
This commit is contained in:
parent
84f36b7e7c
commit
002bfa5783
1 changed files with 5 additions and 3 deletions
8
.github/workflows/preview.yml
vendored
8
.github/workflows/preview.yml
vendored
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue