Skip to content

Bump commons-io:commons-io from 2.11.0 to 2.14.0 #52

Bump commons-io:commons-io from 2.11.0 to 2.14.0

Bump commons-io:commons-io from 2.11.0 to 2.14.0 #52

Workflow file for this run

name: robotframework-httprequestlibrary build
on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
java-version: [ 8, 11 ]
include:
- os: ubuntu-latest
mavenProfile: "-PlocalRun" # Running test on Linux using Docker endpoints
runs-on: ${{ matrix.os }}
name: Test on ${{ matrix.os }} with Java ${{ matrix.java-version }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
java-package: jdk
- name: Build with Maven
run: mvn -B verify ${{ matrix.mavenProfile }} --file pom.xml
release:
needs: [build_and_test]
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
name: Release package
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 8
java-package: jdk
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@201a45a3f311b2ee888f252ba9f4194257545709
with:
gpg_private_key: ${{ secrets.gpg_private_key }}
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_username }}
nexus_password: ${{ secrets.nexus_password }}
maven_args: -DskipTests