From 8cd1ae7cafb08a23c9dc8696606c5df1c47cd586 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 7 May 2024 18:41:14 -0500 Subject: [PATCH] Get version before moving files --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 998081e..3af23df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,17 +28,17 @@ jobs: - name: Build Mod run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore - - name: Move files - run: | - mkdir -p output/HydroponicsExpanded - mv About/About.xml About/Preview.png About/PublishedFileId.txt Assemblies/ Defs/ Languages/ Textures/ output/HydroponicsExpanded - - name: Get Version id: get_version uses: mikefarah/yq@master with: cmd: cat ./About/About.xml | xq '.ModMetaData.modVersion' + - name: Move files + run: | + mkdir -p output/HydroponicsExpanded + mv About/About.xml About/Preview.png About/PublishedFileId.txt Assemblies/ Defs/ Languages/ Textures/ output/HydroponicsExpanded + - name: Upload Mod Artifacts uses: actions/upload-artifact@v2 with: