Skip to content

Bump actions/upload-artifact from 3.1.2 to 4.4.3 #612

Bump actions/upload-artifact from 3.1.2 to 4.4.3

Bump actions/upload-artifact from 3.1.2 to 4.4.3 #612

Workflow file for this run

name: pr-build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install libhyperic-sigar
run: sudo apt-get install libhyperic-sigar-java
- name: fetch head
uses: actions/checkout@v3
- name: setup jdk
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
settings-path: ${{ github.workspace }}/.mvn/
- name: cache .m2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: maven build
run: ./mvnw -B -U verify -s $GITHUB_WORKSPACE/.mvn/settings.xml
env:
GITHUB_TOKEN: ${{secrets.serverpass}}
- uses: actions/[email protected]
with:
name: todos-build-artifacts
path: ${{ github.workspace }}/**/target/**