Skip to content

Commit

Permalink
Update github-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bmg13 authored Mar 18, 2024
1 parent c7dc03a commit a824a5d
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ name: GitHub Actions
run-name: ${{ github.actor }} github actions
on: [push]
jobs:
Explore-GitHub-Actions:
build:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Running tests
run: |
mvn test
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Running tests
run: mvn test
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit a824a5d

Please sign in to comment.