Skip to content

Commit

Permalink
Merge pull request #76 from nadundesilva/dev
Browse files Browse the repository at this point in the history
Add step to publish bala to the action run
  • Loading branch information
nadundesilva authored May 10, 2021
2 parents cc12310 + 2953ba3 commit b75b876
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-dev-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
packagePAT: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew clean build --stacktrace --scan --console=plain --no-daemon
./gradlew codeCoverageReport --console=plain --no-daemon
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true

windows-build:
runs-on: windows-latest
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ jobs:
packagePublishRepo: ${{ github.repository }}
run: |
./gradlew clean build publish --stacktrace --scan --console=plain --no-daemon
./gradlew codeCoverageReport
- name: Generate Codecov Report
./gradlew codeCoverageReport --console=plain --no-daemon
- name: Upload Coverage Report
uses: codecov/codecov-action@v1

with:
fail_ci_if_error: true
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: distribution
path: |
prometheus-extension-ballerina/build/distributions/prometheus-extension-ballerina-*.zip
grafana-dashboard.json
if-no-files-found: error
6 changes: 4 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ jobs:
packagePAT: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew clean build --stacktrace --scan --console=plain --no-daemon
./gradlew codeCoverageReport
- name: Generate Codecov Report
./gradlew codeCoverageReport --console=plain --no-daemon
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true

windows-build:
runs-on: windows-latest
Expand Down

0 comments on commit b75b876

Please sign in to comment.