Skip to content

Commit fc999d9

Browse files
authored
Merge pull request #72 from filip26/patch/workflow-actions
Fix actions
2 parents 25df1f9 + 39d66f4 commit fc999d9

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

.github/workflows/java11-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a Java project with Maven
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
33

4-
name: Java 11 CI
4+
name: Java 11 PR
55

66
on:
77
pull_request:

.github/workflows/java11-push.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This workflow will build a Java project with Maven
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: Java 11 CI
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up JDK 11
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 11
21+
- name: Build with Maven
22+
run: mvn -f pom.xml package

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
An implementation of the [Decentralized Identifiers (DIDs) v1.0](https://www.w3.org/TR/did-core/) in Java.
33

44

5-
[![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)
5+
[![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)
6+
[![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)
67
[![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)
78
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
89

0 commit comments

Comments
 (0)