Update build_mod.yml

This commit is contained in:
Pao
2023-03-10 02:26:17 +01:00
committed by GitHub
parent 936263147d
commit b87e49735d

View File

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