Skip to content

Update run.py

Update run.py #28

Workflow file for this run

name: Java CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
env:
working-directory-fileupload: "./Path Manipulation/while File Upload/java/fileupload.pathmanipulation"
working-directory-fileread: "./Path Manipulation/while File Read/java/fileread.pathmanipulation"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven for Path Manipulation while File Upload
working-directory: ${{ env.working-directory-fileupload }}
run: mvn clean -DskipTests=true -B package --file pom.xml
- name: Build with Maven for Path Manipulation while File Read
working-directory: ${{ env.working-directory-fileread }}
run: mvn clean -DskipTests=true -B package --file pom.xml
# - name: Run tests
# run: mvn test