Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Added backslash before Windows commands #13

Added backslash before Windows commands

Added backslash before Windows commands #13

Workflow file for this run

# This file defines a GitHub Actions workflow that runs autograding when a student pushes to their repository.
# For details about tests and points, see the autograding.json file in the .github/classroom/ directory.
name: GitHub Classroom Workflow
on:
- push
- workflow_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
build:
name: Autograding
runs-on: ubuntu-latest
steps:
# Checkout the repository
- uses: actions/checkout@v4
# Install Java 17. See https://github.com/education/autograding/issues/18
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
# Make sure compilation succeeds before attempting to run autograding
- name: Compile source code
run: ./gradlew compileJava compileTestJava
# Run autograding
- uses: education/autograding@v1
# Only run autograding when a student pushes to their repository
if: github.actor != 'github-classroom[bot]' && github.repository_owner != 'ohjelmointi2'