Skip to content

Commit

Permalink
Update Github Actions workflow and update metacard parent (#196)
Browse files Browse the repository at this point in the history
* Update Github Actions workflow and update metacard parent
* Minor README update
  • Loading branch information
martinpaljak authored Jan 23, 2020
1 parent 9bf0d3d commit 0f9ab9e
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 39 deletions.
34 changes: 0 additions & 34 deletions .github/main.workflow

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: pull_request
name: PR check
jobs:
mvn-java-11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: mvn-java-11
uses: docker://maven:3.6.3-jdk-11
with:
entrypoint: mvn
args: -U -B verify
mvn-java-8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: mvn-java-8
uses: docker://maven:3.6.3-jdk-8
with:
entrypoint: mvn
args: -U -B verify
49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
on:
push:
tags:
- 'v*'

name: Release CI

jobs:
build:
name: Upload release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build
uses: docker://maven:3.6.3-jdk-8
with:
entrypoint: mvn
args: -U -B verify
- name: Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: true # Manually promoted to latest release
- name: Upload JAR
id: jar
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tool/target/gp.jar
asset_name: gp.jar
asset_content_type: application/zip
- name: Upload EXE
id: exe
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./tool/target/gp.exe
asset_name: gp.exe
asset_content_type: application/x-msdownload
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Actions Status](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/badge/martinpaljak/GlobalPlatformPro)](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/results/martinpaljak/GlobalPlatformPro) [![Coverity status](https://scan.coverity.com/projects/4020/badge.svg?flat=1)](https://scan.coverity.com/projects/4020/) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.martinpaljak/globalplatformpro/badge.svg)](https://mvnrepository.com/artifact/com.github.martinpaljak/globalplatformpro) [![Latest release](https://img.shields.io/github/release/martinpaljak/GlobalPlatformPro.svg)](https://github.com/martinpaljak/GlobalPlatformPro/releases/latest) [![LGPL-3.0 licensed](https://img.shields.io/badge/license-LGPL-blue.svg)](https://github.com/martinpaljak/GlobalPlatformPro/blob/master/LICENSE)
[![Build Status](https://github.com/martinpaljak/globalplatformpro/workflows/Release%20CI/badge.svg)](https://github.com/martinpaljak/globalplatformpro/workflows) [![Coverity status](https://scan.coverity.com/projects/4020/badge.svg?flat=1)](https://scan.coverity.com/projects/4020/) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.martinpaljak/globalplatformpro/badge.svg)](https://mvnrepository.com/artifact/com.github.martinpaljak/globalplatformpro) [![Latest release](https://img.shields.io/github/release/martinpaljak/GlobalPlatformPro.svg)](https://github.com/martinpaljak/GlobalPlatformPro/releases/latest) [![LGPL-3.0 licensed](https://img.shields.io/badge/license-LGPL-blue.svg)](https://github.com/martinpaljak/GlobalPlatformPro/blob/master/LICENSE)
# GlobalPlatformPro
_   from [JavaCard.pro](https://javacard.pro)_

Expand All @@ -23,7 +23,7 @@ Building JavaCard applets is equally pleasing with [ant-javacard](https://github
```shell
git clone https://github.com/martinpaljak/GlobalPlatformPro
cd GlobalPlatformPro
mvn package && ant
mvn package
```

## NEWS
Expand All @@ -32,7 +32,7 @@ mvn package && ant

### Usage

*Beware: [until v0.5 is released](https://github.com/martinpaljak/GlobalPlatformPro/milestones), both command line and Java API are subject to change without notice. Check back often.*
*Beware: both command line and Java API are subject to change without notice. Check back often.*

#### Warning about correct keying

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.martinpaljak</groupId>
<artifactId>javacard</artifactId>
<version>19.06.19</version>
<artifactId>metacard</artifactId>
<version>20.01.14</version>
</parent>
<version>19.06.16</version>
<artifactId>gppro</artifactId>
Expand Down

0 comments on commit 0f9ab9e

Please sign in to comment.