Skip to content

Update actions/upload-artifact action to v4.4.2 #120

Update actions/upload-artifact action to v4.4.2

Update actions/upload-artifact action to v4.4.2 #120

Workflow file for this run

name: Java CI with Maven
on: [ push, pull_request ]
jobs:
build:
# Only run on PRs if the source branch is on someone else's repo
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload artifact
uses: actions/[email protected]
with:
name: SkinsRestorerAPIExample
path: ./target/*.jar