From 6774a121cebe3e8f6aab2d3bb0fdc376cfcb5fb0 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 7 May 2024 18:51:11 -0500 Subject: [PATCH] Use Go for xq --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3af23df..fbae409 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,12 +28,15 @@ jobs: - name: Build Mod run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore + - name: Setup Go environment + uses: actions/setup-go@v5.0.1 + - name: Get Version id: get_version uses: mikefarah/yq@master with: - cmd: cat ./About/About.xml | xq '.ModMetaData.modVersion' - + cmd: cat ./About/About.xml | xq ./About/About.xml -x "/ModMetaData/modVersion" + - name: Move files run: | mkdir -p output/HydroponicsExpanded