mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-06 07:16:10 -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
|
- name: Build Mod
|
||||||
run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore
|
run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore
|
||||||
|
|
||||||
|
- name: Setup Go environment
|
||||||
|
uses: actions/setup-go@v5.0.1
|
||||||
|
|
||||||
- name: Get Version
|
- name: Get Version
|
||||||
id: get_version
|
id: get_version
|
||||||
uses: mikefarah/yq@master
|
uses: mikefarah/yq@master
|
||||||
with:
|
with:
|
||||||
cmd: cat ./About/About.xml | xq '.ModMetaData.modVersion'
|
cmd: cat ./About/About.xml | xq ./About/About.xml -x "/ModMetaData/modVersion"
|
||||||
|
|
||||||
- name: Move files
|
- name: Move files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p output/HydroponicsExpanded
|
mkdir -p output/HydroponicsExpanded
|
||||||
|
|||||||
Reference in New Issue
Block a user