Skip to content

[Snyk] Upgrade com.google.auto.service:auto-service-annotations from 1.1.0 to 1.1.1 #12

[Snyk] Upgrade com.google.auto.service:auto-service-annotations from 1.1.0 to 1.1.1

[Snyk] Upgrade com.google.auto.service:auto-service-annotations from 1.1.0 to 1.1.1 #12

Workflow file for this run

on:
push:
tags:
- 'v*'
branches:
- master
pull_request:
branches:
- master
name: Build robot
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17, 20 ]
name: Java ${{ matrix.java }} build
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Set SSH key
if: github.event_name != 'pull_request'
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name: Add known host key
if: github.event_name != 'pull_request'
run: ssh-keyscan javacard.pro >> ~/.ssh/known_hosts
- name: Package
run: ./mvnw -T1C -U -B clean verify
- name: Release
if: startsWith(github.ref, 'refs/tags/v') && matrix.java == '11'
id: create_release
uses: softprops/[email protected]
with:
files: |
tool/target/apdu4j.jar
tool/target/apdu4j.exe
fail_on_unmatched_files: true
body: Release ${{ github.ref_name }}
prerelease: true # manually promoted
- name: Deploy package
if: matrix.java == '11' && github.ref == 'refs/heads/master'
run: ./mvnw -T1C -B deploy