Colota - Android GPS Location tracker
ci: use the setup-build composite action in the release workflows (#574)
Max Dietricha75766c6eeec
diff --git a/.github/workflows/build-latest-release.yml b/.github/workflows/build-latest-release.ymlindex dc938f3a..ec644911 100644--- a/.github/workflows/build-latest-release.yml+++ b/.github/workflows/build-latest-release.yml@@ -26,22 +26,8 @@ jobs:with:fetch-depth: 0- - name: Setup Node & Java- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7- with:- node-version: '22'- cache: 'npm'- - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5- with:- distribution: 'temurin'- java-version: '17'- cache: 'gradle'-- - name: Install dependencies- run: npm ci-- - name: Build shared package- run: npm run build -w @colota/shared+ - name: Setup build environment+ uses: ./.github/actions/setup-build- name: Patch node_modules for reproducible buildsrun: |@@ -100,22 +86,8 @@ jobs:with:fetch-depth: 0- - name: Setup Node & Java- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7- with:- node-version: '22'- cache: 'npm'- - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5- with:- distribution: 'temurin'- java-version: '17'- cache: 'gradle'-- - name: Install dependencies- run: npm ci-- - name: Build shared package- run: npm run build -w @colota/shared+ - name: Setup build environment+ uses: ./.github/actions/setup-build- name: Patch node_modules for reproducible buildsrun: |diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.ymlindex fe1a4ead..f1f16473 100644--- a/.github/workflows/build-release.yml+++ b/.github/workflows/build-release.yml@@ -4,8 +4,6 @@ on:push:tags:- 'v*.*.*'- paths-ignore:- - '**.md'workflow_dispatch:permissions:@@ -45,22 +43,8 @@ jobs:with:fetch-depth: 0- - name: Setup Node & Java- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7- with:- node-version: '22'- cache: 'npm'- - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5- with:- distribution: 'temurin'- java-version: '17'- cache: 'gradle'-- - name: Install dependencies- run: npm ci-- - name: Build shared package- run: npm run build -w @colota/shared+ - name: Setup build environment+ uses: ./.github/actions/setup-build- name: Append signing config to gradle.propertiesrun: |@@ -124,22 +108,8 @@ jobs:with:fetch-depth: 0- - name: Setup Node & Java- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7- with:- node-version: '22'- cache: 'npm'- - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5- with:- distribution: 'temurin'- java-version: '17'- cache: 'gradle'-- - name: Install dependencies- run: npm ci-- - name: Build shared package- run: npm run build -w @colota/shared+ - name: Setup build environment+ uses: ./.github/actions/setup-build- name: Patch node_modules for reproducible buildsrun: |