Skip to content

Commit

Permalink
Github build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsloan committed Mar 27, 2023
1 parent bcc16e6 commit e5eecf9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit e5eecf9

Please sign in to comment.