Skip to content

MP-TEST and cfg progress #6

MP-TEST and cfg progress

MP-TEST and cfg progress #6

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
name: Build and deploy
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
security-events: write
steps:
- name: Get Time
id: time
uses: nanzm/get-time-action@master
with:
timeZone: UTC+8
format: 'YYYY-MM-DDTHH.mm.ssZ'
- name: Checkout repository
uses: actions/checkout@v4 # v4
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn clean package
env:
TIME: "${{ steps.time.outputs.time }}"