Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleelakrishna authored Apr 14, 2022
0 parents commit 4d974a6
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
hello_world_job:
runs-on: windows-latest
name: Build and Analyse
steps:
- run: git config --system core.longpaths true
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
- id: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
LANG: JS
uses: applibgroup/[email protected]
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: assets-for-download
path: build\outputs\hap\debug\phone

0 comments on commit 4d974a6

Please sign in to comment.