Update build.yaml

This commit is contained in:
Andrea Cavalli 2020-12-27 19:04:46 +01:00
parent 8e029f2e08
commit 515988de91

View File

@ -104,11 +104,15 @@ jobs:
source ./github-workflows/build.sh source ./github-workflows/build.sh
- id: getfilename - id: getfilename
shell: bash
run: echo "::set-output name=file::$(cd generated/target; ls tdli*-natives-*shaded.jar)"
- id: getfilepath
shell: bash shell: bash
run: echo "::set-output name=file::$(ls generated/target/tdli*-natives-*shaded.jar)" run: echo "::set-output name=file::$(ls generated/target/tdli*-natives-*shaded.jar)"
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
path: ${{ steps.getfilename.outputs.file }} name: ${{ steps.getfilename.outputs.file }}
path: ${{ steps.getfilepath.outputs.file }}
- name: Deploy snapshot to Maven - name: Deploy snapshot to Maven
shell: bash shell: bash
run: | run: |