Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Jan 14, 2024
1 parent 599e68e commit fb2e3bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
lfs: true
- name: Clone submodules
run: git submodule update --init --recursive
- name: apt-get update
run: sudo apt-get update
- name: Set up JDK
uses: actions/setup-java@v4
with:
Expand All @@ -31,6 +29,6 @@ jobs:
~/.coursier
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }}
- name: Compile and run tests
run: sbt +test
run: sbt stage +test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
distribution: 'temurin'
java-version: '21'
- name: Compile and run tests
run: sbt +test
run: sbt stage +test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
Expand All @@ -40,7 +40,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
- run: sbt compile +test
- run: sbt stage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: sbt publish
Expand Down

0 comments on commit fb2e3bb

Please sign in to comment.