Skip to content

Commit

Permalink
Merge pull request #2 from webauthn4j/add-github-actions-workflows
Browse files Browse the repository at this point in the history
Add GitHub Actions workflows
  • Loading branch information
ynojima authored Oct 11, 2024
2 parents 57e61c7 + 7d0cea2 commit 59164b2
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
tags:
- '*'
branches:
- '*'
schedule:
# everyday 11AM (UTC)
- cron: '* 9 * * *'

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
java_version: [17, 21]
os: [ubuntu-latest]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'

- name: Build uber-jar with Maven
run: ./mvnw package -Dquarkus.package.jar.type=uber-jar
26 changes: 26 additions & 0 deletions .github/workflows/pr-gate-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pull Request Gate CI

on: pull_request

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
java_version: [17, 21]
os: [ubuntu-latest]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'

- name: Build uber-jar with Maven
run: ./mvnw package -Dquarkus.package.jar.type=uber-jar
Empty file modified mvnw
100644 → 100755
Empty file.

0 comments on commit 59164b2

Please sign in to comment.