-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #236 from cyface-de/release-7.0.0_DAT-857
Release 7.0.0 dat 857
- Loading branch information
Showing
137 changed files
with
3,620 additions
and
4,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,38 @@ | ||
# This workflow ensures the building step works | ||
# | ||
# @author Armin Schnabel | ||
# @version 1.0.1 | ||
# @version 1.0.2 | ||
# @since 5.0.0 | ||
name: Gradle Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'release/**' | ||
- release | ||
pull_request: | ||
branches: | ||
- main | ||
- 'release/**' | ||
- release | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 1.8 | ||
distribution: 'zulu' | ||
java-version: '11' | ||
|
||
- name: Create empty truststore file | ||
run: | | ||
# When no truststore is required by the server we create an empty file or else the build fails | ||
mkdir -p synchronization/src/main/res/raw | ||
touch synchronization/src/main/res/raw/truststore.jks | ||
- name: Create local.properties with a read token | ||
- name: Add gradle.properties | ||
run: | | ||
# Use a personal read token to install the Cyface Utils package | ||
echo "github.user=${{ secrets.GITHUB_READ_ACCOUNT }}" > local.properties | ||
echo "github.token=${{ secrets.GITHUB_READ_TOKEN }}" >> local.properties | ||
cp gradle.properties.template gradle.properties | ||
echo "githubUser=${{ secrets.GH_READ_ACCOUNT }}" >> gradle.properties | ||
echo "githubToken=${{ secrets.GH_READ_TOKEN }}" >> gradle.properties | ||
- name: Build with Gradle | ||
run: ./gradlew build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.