Skip to content

Commit

Permalink
Merge pull request #72 from filip26/patch/workflow-actions
Browse files Browse the repository at this point in the history
Fix actions
  • Loading branch information
filip26 authored Jul 8, 2024
2 parents 25df1f9 + 39d66f4 commit fc999d9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java11-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java 11 CI
name: Java 11 PR

on:
pull_request:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/java11-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java 11 CI

on:
push:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn -f pom.xml package
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
An implementation of the [Decentralized Identifiers (DIDs) v1.0](https://www.w3.org/TR/did-core/) in Java.


[![Java 11 CI](https://github.com/filip26/carbon-decentralized-identifiers/actions/workflows/java11-build.yml/badge.svg)](https://github.com/filip26/carbon-decentralized-identifiers/actions/workflows/java11-build.yml)
[![Java 11 CI](https://github.com/filip26/carbon-decentralized-identifiers/actions/workflows/java11-push.yml/badge.svg)](https://github.com/filip26/carbon-decentralized-identifiers/actions/workflows/java11-push.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=filip26_carbon-decentralized-identifiers&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=filip26_carbon-decentralized-identifiers)
[![Maven Central](https://img.shields.io/maven-central/v/com.apicatalog/carbon-did.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:com.apicatalog%20AND%20a:carbon-did)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Expand Down

0 comments on commit fc999d9

Please sign in to comment.