Skip to content

Added action to show the available labels on Aquarium Cloud page #22

Added action to show the available labels on Aquarium Cloud page

Added action to show the available labels on Aquarium Cloud page #22

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
CodeQL:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: java
- name: CodeQL Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # To get all the tags for versioning
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Set version from the closest git tag
run: mvn --batch-mode versions:set -DnewVersion="$(git describe --always --tags --match 'v*' | sed 's/^v//')$([ "$(git diff)" = '' ] || echo '-dirty')"
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
- name: Upload binaries
uses: actions/upload-artifact@v3
with:
name: binaries
path: target/aquarium-net-jenkins.hpi