Skip to content

Commit

Permalink
Add commit status publisher to action
Browse files Browse the repository at this point in the history
  • Loading branch information
SirEndii committed Mar 30, 2024
1 parent ce6857e commit 8abf174
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set commit status as pending
uses: myrotvorets/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: pending
context: Building AP
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build
- name: Set final commit status
uses: myrotvorets/[email protected]
if: always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
context: Building AP

0 comments on commit 8abf174

Please sign in to comment.