1
0
mirror of https://github.com/bitwarden/mobile synced 2024-12-25 16:23:43 +01:00

move cloc to its own job

This commit is contained in:
Kyle Spearrin 2020-06-09 13:18:22 -04:00
parent 092b536009
commit 8f1db25c5c

View File

@ -8,6 +8,21 @@ on:
jobs: 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: android:
runs-on: windows-latest runs-on: windows-latest
@ -29,11 +44,6 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 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 - name: Decrypt secrets
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
run: ./.github/scripts/android/decrypt-secrets.ps1 run: ./.github/scripts/android/decrypt-secrets.ps1