From 937e054f3f8f9184e81a5eb192439e5601963aa7 Mon Sep 17 00:00:00 2001 From: BilligsterUser Date: Fri, 29 Mar 2024 19:45:49 +0100 Subject: [PATCH] clean up --- .github/workflows/actions/build/action.yml | 4 ++-- .github/workflows/android.yml | 17 +++++++++++++++++ .github/workflows/node.js.yml | 4 +--- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/actions/build/action.yml b/.github/workflows/actions/build/action.yml index d185fbc2..aa181473 100644 --- a/.github/workflows/actions/build/action.yml +++ b/.github/workflows/actions/build/action.yml @@ -33,13 +33,13 @@ jobs: - uses: actions/setup-node@v4 with: - cache: 'npm' + cache: npm cache-dependency-path: | ${{ env.GITHUB_WORKSPACE }}/package-lock.json - uses: actions/setup-java@v4 with: - distribution: 'temurin' + distribution: temurin java-version: '17' # The JDK version to make available on the path. # ${{ env.GITHUB_WORKSPACE }}/**/*gradle* # ${{ env.GITHUB_WORKSPACE }}/*gradle* diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 00000000..2ae6213d --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,17 @@ +name: Build-for-android-production + +on: + push : + branches : [release] +env: + EXPO_NO_TELEMETRY: 1 + SENTRY_DISABLE_AUTO_UPLOAD: true +jobs: + composite: + name: build-for-android-base-composite + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: ls -alh ./.github/ + - id: build-base + uses: ./.github/workflows/actions/build diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 9c8a4e64..730a2e4d 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,5 +1,3 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and tests across different versions of node -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs name: Node.js CI @@ -28,7 +26,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: "npm" + cache: npm - run: npm install - run: npm run lint