Multi-language project deploy

So i’ve been working on a project with a java server and c# client, and I want to deploy it to github releases, but even if I put the files i want in the deploy part, it just uploads the source code zipped.
I was messing around with every option, trying to not deploy when the server is done, since the client takes way more time to build, but at this point i have no idea what am i doing. The current error i’m getting is that the file was not found, but the build scripts should generate them…

env:
    global:
        - DONE=false
matrix:
  include:
    - language: java
      before_script: 
       - cd server
      script: 
       - mvn clean test
       - mvn package
       - mvn verify
       - mvn javadoc:javadoc
      after_script:
        - cd ..
    - language: csharp
      before_script:
       - cd scripts
      script:
       - ./clientBuild.sh
       - DONE=true
       - cd ..

deploy:
    provider: releases
    api_key:
        secure: 
           <key stuff>
    skip_cleanup: true
    file: 
        -"/client/bin/Debug/GameOfELTE.exe"
        - "/server/target/server-1.0-SNAPSHOT.jar"
    on:
        condition: $DONE = true

You are deploying files with absolute paths. These probably don’t exist, and there’s nothing to upload.

Imprint