ci(lua): ugly directories fix, docs on todos

This commit is contained in:
əlemi 2024-09-10 03:25:23 +02:00
parent 49aec9e70b
commit a17c0e0ba5
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 9 additions and 1 deletions

View file

@ -37,3 +37,5 @@ jobs:
with: with:
name: codemp-java-${{ matrix.platform.target }} name: codemp-java-${{ matrix.platform.target }}
path: dist/java/build/libs path: dist/java/build/libs
# TODO add a publish step to maven central

View file

@ -63,6 +63,7 @@ jobs:
# name: codemp-lua-${{ matrix.platform.target }} # name: codemp-lua-${{ matrix.platform.target }}
# path: target/release/${{ matrix.platform.filename }} # path: target/release/${{ matrix.platform.filename }}
# TODO this just copies files on our server, maybe publish on luarocks? maybe do it properly with versions
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build] needs: [build]
@ -74,4 +75,9 @@ jobs:
with: with:
pattern: codemp-lua-* pattern: codemp-lua-*
- run: tree - run: tree
- run: scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null * dev@codemp.dev:/srv/http/codemp/files/releases/lua/ # TODO ugly fix to deal with folders on this side...
- name: copy files on remote
run: |
for DIR in $(ls); do
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $DIR/* dev@codemp.dev:/srv/http/codemp/files/releases/lua/
done