Skip to content

Commit

Permalink
self hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
vilasvarghese committed Jun 15, 2024
1 parent c0c63e0 commit 82ad45d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/self_runner_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build a WAR file using Maven

on:
push:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Build with Maven
run: mvn clean install #-f MyWebApp/pom.xml

0 comments on commit 82ad45d

Please sign in to comment.