Skip to content

Commit

Permalink
#493 wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Nov 11, 2024
1 parent ce114f1 commit f1df6ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,12 @@ jobs:
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SCALA_VERSION: ${{ matrix.scala }}
run: |
if [[ "$GITHUB_REF" == refs/heads/develop || "$CI_BRANCH_TAG" =~ ^v.*$ ]] ; then
openssl aes-256-cbc -K ${OPENSSL_KEY} -iv ${OPENSSL_IV} -in secrets.tar.enc -out secrets.tar -d
tar xvf secrets.tar
ln -s .secrets/local.sbt local.sbt
rm ./.secrets/credentials.sonatype-nexus.properties
printf "%s\n" "realm=Sonatype Nexus Repository Manager" "host=oss.sonatype.org" "user=${SONATYPE_USERNAME}" "password=${SONATYPE_PASSWORD}" > ./.secrets/credentials.sonatype-nexus.properties
fi
./build.sh nix gen publish-scala
openssl aes-256-cbc -K ${OPENSSL_KEY} -iv ${OPENSSL_IV} -in secrets.tar.enc -out secrets.tar -d
tar xvf secrets.tar
ln -s .secrets/local.sbt local.sbt
rm ./.secrets/credentials.sonatype-nexus.properties
printf "%s\n" "realm=Sonatype Nexus Repository Manager" "host=oss.sonatype.org" "user=${SONATYPE_USERNAME}" "password=${SONATYPE_PASSWORD}" > ./.secrets/credentials.sonatype-nexus.properties
./build.sh nix gen publish-scala
release-and-notify-docs:
name: Release and Notify Docs
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
nodePackages.npm

gitMinimal
# gnupg
gnupg
# tree
];

shellHook = ''
Expand Down
4 changes: 0 additions & 4 deletions gpg.sbt

This file was deleted.

0 comments on commit f1df6ef

Please sign in to comment.