Skip to content

Commit

Permalink
Update development.yml
Browse files Browse the repository at this point in the history
added a step to print the current directory of the runner to debug the navigation.
  • Loading branch information
Stoyan12314 authored Sep 23, 2024
1 parent 70b82a1 commit 1351d9c
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,25 @@ jobs:
runs-on: self-hosted

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Navigate to Example/demo and build with Maven
run: |
cd "Example demo" # Navigate to the Example/demo folder
- name: Build with Maven
run: mvn -B package --file pom.xml

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven

# Step to print the current directory
- name: Print working directory
run: pwd # This will print the current working directory to the logs

# Optionally, print all files and folders to get an overview of the file structure
- name: List all files
run: ls -al # This will list all files and folders in the current directory

- name: Navigate to Example/demo and build with Maven
run: |
cd "Example demo" # Navigate to the Example demo folder
mvn -B package --file pom.xml # Run Maven in that folder

0 comments on commit 1351d9c

Please sign in to comment.