Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
phearnot committed Sep 25, 2024
1 parent b5a99aa commit 4ed7de5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/check-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
PGP_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }}
run: |
sbt_version=$(cut -d\" -f2 version.sbt)
version=$(echo ${{ github.base_ref }} | awk -F '[-\.]' '{print $2"."$3}')
pr_number=${{ github.event.number }}
sbt -Dproject.version=$sbt_version-$pr_number-SNAPSHOT --mem 4096 --batch publishSigned
sbt -Dproject.version=$version-$pr_number-SNAPSHOT --mem 4096 --batch publishSigned
- name: Save crash data
uses: actions/upload-artifact@v4
if: failure()
with:
if-no-files-found: ignore
name: crashes
path: |
hs*.log
core*
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
PGP_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }}
run: |
version=$(echo ${{ github.event.number }} | cut -d- -f2)-SNAPSHOT
version=$(echo ${{ github.base_ref }} | awk -F '[-\.]' '{print $2"."$3}')-SNAPSHOT
sbt -Dproject.version=$version --mem 4096 --batch publishSigned

0 comments on commit 4ed7de5

Please sign in to comment.