This commit is contained in:
Phillip Thelen 2022-03-21 19:48:44 +01:00 committed by Phillip Thelen
parent 562436da2d
commit cf88566f78
2 changed files with 10 additions and 6 deletions

4
.github/prepare-workflow vendored Normal file
View file

@ -0,0 +1,4 @@
chmod +x gradlew
cp habitica.properties.example habitica.properties
cp habitica.resources.example habitica.resources
cp Habitica/google-services.json.example Habitica/google-services.json

View file

@ -17,7 +17,7 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Prepare
run: ./.github/actions/prepare-run
run: ./.github/prepare-workflow
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run with Gradle
@ -36,7 +36,7 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Prepare
run: ./.github/actions/prepare-run
run: ./.github/prepare-workflow
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run with Gradle
@ -55,13 +55,13 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Prepare
run: ./.github/actions/prepare-run
run: ./.github/prepare-workflow
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
with:
arguments: connectedProdDebugAndroid@e6e38bacfdf1a337459f332974bb2327a31aaf4b
arguments: connectedProdDebugAndroid
lint:
runs-on: ubuntu-latest
@ -74,7 +74,7 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Prepare
run: ./.github/actions/prepare-run
run: ./.github/prepare-workflow
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run with Gradle
@ -93,7 +93,7 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Prepare
run: ./.github/actions/prepare-run
run: ./.github/prepare-workflow
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Run with Gradle