Skip to content

Commit

Permalink
Lets do this
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 13, 2024
1 parent b50de58 commit 4ced485
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: PR
on: pull_request
on:
pull_request:
push:
branches:
- main
- feature/*
workflow_dispatch:
jobs:
pr:
runs-on: ubuntu-latest
Expand All @@ -19,3 +25,5 @@ jobs:
~/.coursier
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
- run: sbt +test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Release
name: release
on:
push:
branches: [master, main]
tags: ["*"]
tags:
- 'v*'
workflow_dispatch: # allow to manually trigger this workflow
jobs:
release:
concurrency: release
Expand All @@ -26,6 +27,8 @@ jobs:
~/.coursier
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
- run: sbt compile +test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: sbt publish
if: startsWith(github.ref, 'refs/tags/')
env:
Expand Down
Empty file added README.md
Empty file.

0 comments on commit 4ced485

Please sign in to comment.