Skip to content

Commit

Permalink
ci: add exercise 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonajo committed Dec 2, 2024
1 parent 835315b commit dad02ab
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/exercise-3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Java CI with Gradle

on:
push:
branches:
- dev

defaults:
run:
working-directory: assignments/exercise-3

jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Make gradlew executable
run: chmod +x gradlew
- name: Run
run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
path: build
Empty file modified assignments/exercise-3/gradlew
100644 → 100755
Empty file.

0 comments on commit dad02ab

Please sign in to comment.