From e5eecf9d41f9200da976bc182d895e9bc5933ca0 Mon Sep 17 00:00:00 2001 From: David Sloan Date: Mon, 27 Mar 2023 16:26:24 +0100 Subject: [PATCH] Github build fixes --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6a6ceaf..a4af43d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,15 +21,16 @@ jobs: id: get_tag run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Assembly - run: sbt +assembly + run: sbt "project secret-provider" assembly env: LENSES_TAG_NAME: ${{ steps.get_tag.outputs.VERSION }} + - name: Copy file + run: cp secret-provider/target/libs/secret-provider-assembly-${{ steps.get_tag.outputs.VERSION }}.jar secret-provider/target/libs/secret-provider-${{ steps.get_tag.outputs.VERSION }}-all.jar - name: Release to Github uses: softprops/action-gh-release@v1 with: files: | - target/scala-2.12/secret-provider_2.12-${{ steps.get_tag.outputs.VERSION }}-all.jar - target/scala-2.13/secret-provider_2.13-${{ steps.get_tag.outputs.VERSION }}-all.jar + secret-provider/target/libs/secret-provider-${{ steps.get_tag.outputs.VERSION }}-all.jar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LENSES_TAG_NAME: ${{ steps.get_tag.outputs.VERSION }}