Skip to content

Commit

Permalink
Annotate Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jul 15, 2024
1 parent d4f2f28 commit f0aace3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- uses: actions/setup-java@v4
- name: Extract current branch name
shell: bash
# bash pattern expansion to grab branch name without slashes
run: ref="${GITHUB_REF#refs/heads/}" && echo "branch=${ref////-}" >> $GITHUB_OUTPUT
id: ref
- name: Checkout sources
uses: actions/checkout@v4

- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3

- name: Setup Java 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand Down

0 comments on commit f0aace3

Please sign in to comment.