mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-15 04:12:59 -06:00
Get version before moving files
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user