mirror of
https://github.com/Xevion/RimWorld-Hydroponics-Expanded.git
synced 2025-12-06 05:16:20 -06:00
Remove build script, try incorporate mod version into artifact name
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -31,10 +31,16 @@ jobs:
|
||||
- name: Move files
|
||||
run: |
|
||||
mkdir -p output/HydroponicsExpanded
|
||||
mv About/ Assemblies/ Defs/ Languages/ Textures/ 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: Upload Mod Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: HydroponicsExpanded
|
||||
name: HydroponicsExpanded-${{ steps.get_version.outputs.result }}
|
||||
path: output/
|
||||
Reference in New Issue
Block a user