Skip to content

Commit

Permalink
chore: add shared build step in ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bruuuuuuuce authored Aug 24, 2022
1 parent 90df938 commit 4dede13
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

Expand All @@ -27,6 +25,12 @@ jobs:
with:
java-version: 16
distribution: 'adopt'

- name: Commitlint and Other Shared Build Steps
uses: momentohq/standards-and-practices/github-actions/shared-build@gh-actions-v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down

0 comments on commit 4dede13

Please sign in to comment.