added first builds untill I make a proper build system

This commit is contained in:
Arcane Spark 2024-04-23 21:41:51 +02:00
parent c6754818ac
commit fbd240a268

View file

@ -16,10 +16,12 @@ jobs:
go-version: 'stable' # The Go version to download (if necessary) and use. go-version: 'stable' # The Go version to download (if necessary) and use.
- run: | - run: |
mkdir /workspace/bin mkdir /workspace/bin
mkdir TrotCraft/builds
export GOBIN=/workspace/bin export GOBIN=/workspace/bin
go install github.com/packwiz/packwiz@latest go install github.com/packwiz/packwiz@latest
cd TrotCraft/client cd TrotCraft/client
/workspace/bin/packwiz refresh --build /workspace/bin/packwiz refresh --build
/workspace/bin/packwiz mr export -o ../builds/TrotCraft-latest.mrpack
cd ../server cd ../server
/workspace/bin/packwiz refresh --build /workspace/bin/packwiz refresh --build
- name: Deploy - name: Deploy