Skip to content

Task/rfr 1057 upgrade uploader #520

Task/rfr 1057 upgrade uploader

Task/rfr 1057 upgrade uploader #520

Workflow file for this run

# This workflow ensures the building step works
#
# @author Armin Schnabel
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 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- 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
# Executing build here on Ubuntu stack (1/10th costs of MacOS stack)
- name: Build with Gradle
run: ./gradlew build