Skip to content

Bump actions/setup-java from 4.1.0 to 4.2.0 #451

Bump actions/setup-java from 4.1.0 to 4.2.0

Bump actions/setup-java from 4.1.0 to 4.2.0 #451

name: Archive plugin artifact
permissions: read-all
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build and archive
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 # v4.2.0
with:
distribution: 'temurin'
java-version: '17'
- name: Build
run: mvn -Dmaven.test.skip=true -Dspotbugs.skip=true --batch-mode --show-version clean install
- name: Archive
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
path: target/tuleap-api.hpi