diff --git a/.github/workflow/frontend.yml b/.github/workflow/frontend.yml new file mode 100644 index 0000000..e11a78d --- /dev/null +++ b/.github/workflow/frontend.yml @@ -0,0 +1,48 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: Check out repository code + uses: actions/checkout@v2 + + # load repo into workingfolder + - name: load repo into workingfolder + uses: actions/download-artifact@v2 + with: + name: my-download + path: my-nice-download + # print app.js on console + - name: print app.js + run: | + cat src/frontend.app.js + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml new file mode 100644 index 0000000..0cc1508 --- /dev/null +++ b/.github/workflows/frontend.yml @@ -0,0 +1,51 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: Check out repository code + uses: actions/checkout@v2 + + # load repo into workingfolder + - name: download to working dir + uses: actions/download-artifact@v2 + with: + name: my-artifact + - name: Display structure of downloaded files + run: ls -R + + + # print app.js on console + - name: print app.js + run: | + cat src/frontend.app.js + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/src/backend/test_docs.java b/src/backend/test_docs.java new file mode 100644 index 0000000..09212c2 --- /dev/null +++ b/src/backend/test_docs.java @@ -0,0 +1,8 @@ +public class Main { + int x = 5; + + public static void main(String[] args) { + Main myObj = new Main(); + System.out.println(myObj.x); + } +} \ No newline at end of file