Skip to content

Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#381) #381

Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#381)

Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#381) #381

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.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@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
with:
path: target/tuleap-oauth.hpi