Skip to content

Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0 #89

Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0

Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0 #89

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: CI
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@v3
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
- name: Prepare artifact
run: mkdir staging && cp target/Maunz-Discord-jar-with-dependencies.jar staging/Maunz-Discord.jar
- uses: actions/upload-artifact@v3
with:
name: artifact
path: staging
release:
name: Release
if: startsWith(github.ref, 'refs/tags/')
needs: Build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
- name: Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: 'artifact/Maunz-Discord.jar'
tag: ${{ github.ref }}