Skip to content

[Snyk] Upgrade commons-io:commons-io from 2.13.0 to 2.16.1 #13

[Snyk] Upgrade commons-io:commons-io from 2.13.0 to 2.16.1

[Snyk] Upgrade commons-io:commons-io from 2.13.0 to 2.16.1 #13

Workflow file for this run

name: Deploy to Maven Central
on:
release:
types: [released]
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build with Maven
run: mvn -B clean install
deploy:
if: ${{ github.event.action }} == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Deploy with Maven
run: mvn -B clean deploy -Pci-cd
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}