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 }}