mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-06 05:16:20 -06:00
Use Go for xq
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user