Skip to content

Instantly share code, notes, and snippets.

@jonashackt
Created November 29, 2020 20:09
Show Gist options
  • Select an option

  • Save jonashackt/4ee8f12d3076707910e7cc31e038ad28 to your computer and use it in GitHub Desktop.

Select an option

Save jonashackt/4ee8f12d3076707910e7cc31e038ad28 to your computer and use it in GitHub Desktop.
DevOps lecture: GitHub actions configuration
name: devopsdemo
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 12
uses: actions/setup-java@v1
with:
java-version: 12
- name: Test with Maven
run: mvn -B test --no-transfer-progress
@jonashackt

Copy link
Copy Markdown
Author

[![Build Status](https://github.com/jonashackt/devopsdemo/workflows/devopsdemo/badge.svg)](https://github.com/jonashackt/devopsdemo/actions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment