diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f4842bb..1b50e05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Build JAR File +name: Build JAR File on: push: @@ -18,6 +18,9 @@ jobs: with: website: jdk.java.net + - name: Download from Maven + run: mvn package + - name: Build with Maven run: mvn package @@ -29,8 +32,19 @@ jobs: run: tree -h + - run: | + git config user.name "aaa" + git config user.email "aaa\@aaa.com" + ls -la "target/TaskManager-0.0.1-SNAPSHOT.jar" + cp "target/TaskManager-0.0.1-SNAPSHOT.jar" tm.jar + git add tm.jar + git commit -m "Upload zip" + git push + + - name: Upload JAR artifact uses: actions/upload-artifact@v2 with: name: taskmanagerapp - path: build/libs/my-app.jar + path: target + diff --git a/README.md b/README.md index 026354c..252af93 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# The Vanina Task Manager + ## Features - **Create:** Create a new task by providing a title and a description. @@ -6,6 +8,10 @@ - **Update:** Update details of an existing task. - **Delete:** Delete an existing task by its ID. +## Installation + +Download the jar file ```tm.jar``` then run: ```java -jar tm.jar``` at the command line. Use the application at http://localhost:8080 + ## How it Works The application follows an MVC (Model-View-Controller) architecture model. Tasks are managed through controllers that interact with the task service and task repository to perform CRUD (Create, Read, Update, Delete) operations. diff --git a/images/add_task_form_image.png b/images/add_task_form_image.png index fd21873..f5ad533 100644 Binary files a/images/add_task_form_image.png and b/images/add_task_form_image.png differ diff --git a/images/main_screen_image.png b/images/main_screen_image.png index 1547369..1465cd4 100644 Binary files a/images/main_screen_image.png and b/images/main_screen_image.png differ diff --git a/images/task_list_image.png b/images/task_list_image.png index a59ab54..038adca 100644 Binary files a/images/task_list_image.png and b/images/task_list_image.png differ diff --git a/images/update_task_form_image.png b/images/update_task_form_image.png index 4bbfb47..4fa83da 100644 Binary files a/images/update_task_form_image.png and b/images/update_task_form_image.png differ diff --git a/tm.jar b/tm.jar new file mode 100644 index 0000000..56fa63d Binary files /dev/null and b/tm.jar differ