mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
move cloc to its own job
This commit is contained in:
parent
092b536009
commit
8f1db25c5c
1 changed files with 15 additions and 5 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -8,6 +8,21 @@ on:
|
|||
|
||||
jobs:
|
||||
|
||||
cloc:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up cloc
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install cloc
|
||||
|
||||
- name: Print lines of code
|
||||
run: cloc --vcs git --exclude-dir Resources,store,test,Properties --include-lang C#,XAML
|
||||
|
||||
android:
|
||||
runs-on: windows-latest
|
||||
|
||||
|
@ -29,11 +44,6 @@ jobs:
|
|||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Print lines of code
|
||||
run: |
|
||||
choco install cloc --no-progress
|
||||
cloc --vcs git --exclude-dir Resources,store,test,Properties --include-lang C#,XAML
|
||||
|
||||
- name: Decrypt secrets
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: ./.github/scripts/android/decrypt-secrets.ps1
|
||||
|
|
Loading…
Reference in a new issue