Skip to content

Commit

Permalink
Publish builds done on dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagomota committed Jul 20, 2023
1 parent 5825e65 commit f898146
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Dev branch CI

on:
push:
branches: [ dev ]

jobs:
test:
runs-on: ubuntu-latest
name: Java ${{matrix.java}}
strategy:
matrix:
java: ['adopt:1.11', 'temurin:1.11', 'temurin:1.17']
steps:
- uses: actions/checkout@v2
- name: Setup Scala and Java
uses: coursier/setup-action@v1
with:
jvm: ${{matrix.java}}
- name: Start Postgres
run: sh ./scripts/launch-postgres.sh
- name: Run tests
run: sbt +test
- uses: olafurpg/setup-gpg@v3
- name: Publish ${{ github.ref }}
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 comments on commit f898146

Please sign in to comment.