Skip to content

Commit 268a93e

Browse files
committed
added self hosted job runner
1 parent 2fb04f5 commit 268a93e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Java CI with Maven
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: [self-hosted, linux, x64]
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up JDK 17
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: '17'
19+
distribution: 'adopt'
20+
cache: maven
21+
- name: Build with Maven
22+
run: mvn -B package --file pom.xml

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
44
![GitHub last commit](https://img.shields.io/github/last-commit/kirillesau/spring-demo-application)
55
[![Java CI with Maven](https://github.com/kirillesau/spring-demo-application/actions/workflows/build%20with%20maven.yml/badge.svg?branch=master)](https://github.com/kirillesau/spring-demo-application/actions/workflows/build%20with%20maven.yml)
6+
[![Java CI with Maven](https://github.com/kirillesau/spring-demo-application/actions/workflows/build-with-self-hosted.yml/badge.svg?branch=master)](https://github.com/kirillesau/spring-demo-application/actions/workflows/build-with-self-hosted.yml)
67
[![Docker Image CI](https://github.com/kirillesau/spring-demo-application/actions/workflows/docker-image.yml/badge.svg?branch=master)](https://github.com/kirillesau/spring-demo-application/actions/workflows/docker-image.yml)
78

89
An example application with spring boot. It includes topics such

0 commit comments

Comments
 (0)