Skip to content

Commit

Permalink
Merge pull request #244 from RichDom2185/week10/set-up-cd
Browse files Browse the repository at this point in the history
Set up CD for JAR file deployment and update DG
  • Loading branch information
RichDom2185 authored Oct 21, 2022
2 parents d681248 + bd68259 commit 7fbe77f
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 5 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build

on:
workflow_dispatch:
push:
branches:
- master
tags:
- v*

jobs:
jarfile:
runs-on: ubuntu-20.04
steps:
- name: Checkout repositoru
uses: actions/checkout@main
with:
ref: master
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-package: jdk+fx
- name: Create JAR file
run: ./gradlew shadowJar
- name: Create release on GitHub
id: create_release # We need the id to refer to it in the next step
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: Auto-created release from ${{ github.ref }}
- name: Upload JAR file to GitHub releases
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/foodrem.jar
asset_name: foodrem.jar
asset_content_type: application/java-archive
10 changes: 5 additions & 5 deletions docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You can reach us at the email `seer[at]comp.nus.edu.sg`
[[github](https://github.com/ferusel)]
[[portfolio](team/ferusel.md)]

- Role: Team Lead
* Role: Team Lead

### Bryan Lim Jing Xiang

Expand All @@ -25,7 +25,7 @@ You can reach us at the email `seer[at]comp.nus.edu.sg`
[[github](https://github.com/bryanljx)]
[[portfolio](team/bryanljx.md)]

- Role: Tech Lead
* Role: Tech Lead

### Richard Dominick

Expand All @@ -34,7 +34,7 @@ You can reach us at the email `seer[at]comp.nus.edu.sg`
[[github](https://github.com/RichDom2185)]
[[portfolio](team/richdom2185.md)]

- Role: Tech Lead
* Role: Tech Lead

### Tan Wei Lie Eugene

Expand All @@ -43,7 +43,7 @@ You can reach us at the email `seer[at]comp.nus.edu.sg`
[[github](https://github.com/eugenetanwl3881)]
[[portfolio](team/eugenetanwl3881.md)]

- Role: Documentation
* Role: Documentation

### Tan Yi Xian

Expand All @@ -52,4 +52,4 @@ You can reach us at the email `seer[at]comp.nus.edu.sg`
[[github](https://github.com/yixiann)]
[[portfolio](team/yixiann.md)]

- Role: Secretary
* Role: Secretary
8 changes: 8 additions & 0 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ Line 3
Line 4
Line 5

Richard:
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6

### \[Proposed\] Undo/redo feature

#### Proposed Implementation
Expand Down

0 comments on commit 7fbe77f

Please sign in to comment.