add step to rename example config files

This commit is contained in:
Phillip Thelen 2021-09-14 13:14:05 +02:00 committed by GitHub
parent 389ff0a32e
commit a7f84465b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,16 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: copy properties file
uses: canastro/copy-file-action@master
with:
source: "habitica.properties.example"
target: "habitica.properties"
- name: copy resources file
uses: canastro/copy-file-action@master
with:
source: "habitica.resources.example"
target: "habitica.resources"
- name: Build with Gradle
run: ./gradlew build
lint:
@ -34,7 +44,16 @@ jobs:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: copy properties file
uses: canastro/copy-file-action@master
with:
source: "habitica.properties.example"
target: "habitica.properties"
- name: copy resources file
uses: canastro/copy-file-action@master
with:
source: "habitica.resources.example"
target: "habitica.resources"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle