Update build_mod.yml

This commit is contained in:
Pao
2023-03-10 02:18:51 +01:00
committed by GitHub
parent ae55e7edf4
commit bafc26cb6d

View File

@@ -14,10 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}
- run: echo hello > ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt
# - run: mkdir -p ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}
# - run: echo hello > ${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}/world.txt
- run: mkdir -p testpath/test2/test1
- run: echo hello > testpath/test2/test1/world.txt
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.mod_name }}
path: |
./${{ inputs.mod_name }}/Contents/mods/${{ inputs.mod_name }}
testpath/test2/test1/