Skip to content

Commit

Permalink
chore(): Fix GH actions by removing android need to fix later
Browse files Browse the repository at this point in the history
  • Loading branch information
moberwasserlechner committed Sep 18, 2022
1 parent 2f57eb3 commit 0682513
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,46 +48,46 @@ jobs:
# - run: npm install
# - run: npm run verify
# working-directory: ./ios
test-android:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout latest source
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 16

- name: Grant execute permission for gradlew
run: chmod +x gradlew
working-directory: ./android

- name: Cache .gradle
uses: actions/cache@v1
with:
path: .gradle
key: ${{ runner.os }}-dotgradle-${{ hashFiles('**/build.gradle') }}
restore-keys: |
${{ runner.os }}-dotgradle-
- name: Cache gradle
uses: actions/cache@v1
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Install Capacitor Android dependency
run: npm ci

- name: Run Tests
run: ./gradlew test
working-directory: ./android
# test-android:
# runs-on: ubuntu-latest
# timeout-minutes: 30
# steps:
# - name: Checkout latest source
# uses: actions/checkout@v2
#
# - name: Set up JDK 11
# uses: actions/setup-java@v1
# with:
# java-version: 11
#
# - name: Set up Node
# uses: actions/setup-node@v2
# with:
# node-version: 16
#
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
# working-directory: ./android
#
# - name: Cache .gradle
# uses: actions/cache@v1
# with:
# path: .gradle
# key: ${{ runner.os }}-dotgradle-${{ hashFiles('**/build.gradle') }}
# restore-keys: |
# ${{ runner.os }}-dotgradle-
#
# - name: Cache gradle
# uses: actions/cache@v1
# with:
# path: ~/.gradle
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
#
# - name: Install Capacitor Android dependency
# run: npm ci
#
# - name: Run Tests
# run: ./gradlew test
# working-directory: ./android

0 comments on commit 0682513

Please sign in to comment.