Skip to content

chore: Refactor to solve smells #62

chore: Refactor to solve smells

chore: Refactor to solve smells #62

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: setup
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn clean install
# - name: Download DesigniteJava
# run: wget "https://www.designite-tools.com/static/download/DJE/DesigniteJava.jar"
# - name: Create 'analysis' folder
# run: mkdir analysis
# - name: Analyze project with DesigniteJava
# run: |
# java -jar DesigniteJava.jar -i . -o analysis/ -f XML
# ls
# curl -X PUT -H "Authorization: Token ${{ secrets.QSCORED_API_KEY }}" -H "repository-link:https://github.com/tushartushar/DesigniteJava" -H "username: [email protected]" -H "Content-Type: mulitpart/form-data" --url "https://qscored.com/api/upload/file.xml?is_open_access=on&version=$GITHUB_RUN_NUMBER&project_name=DesigniteJava" -F "file=@analysis/DesigniteAnalysis.xml"