Task/rfr 769 migrate to datastore #113
Workflow file for this run
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 workflow ensures the building step works | |
# | |
# @author Armin Schnabel | |
# @version 1.0.2 | |
# @since 1.1.1 | |
name: Gradle Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout commit | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- name: Add gradle.properties | |
run: | | |
# Use a personal read token to install the Cyface Utils package | |
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 |