Skip to content
Permalink
Browse files
NOJIRA adds additional CI targets
  • Loading branch information
spyhunter99 committed May 15, 2022
1 parent b1a72d2 commit dce260520c2e03998d7311570dcf07e51cf118ef
Showing 1 changed file with 34 additions and 39 deletions.
@@ -21,6 +21,39 @@ on:
- cron: '34 23 * * 6'

jobs:
name: Build with CI tests
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['java']
steps:
- name: Setup Java 8
uses: actions/setup-java@v1.4.3
with:
java-version: '8'
java-package: jdk
architecture: x64

- name: set JDK 8 environment variables
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
run: echo ::set-env name=JDK_8::$(echo $JAVA_HOME)

- name: Checkout repository
uses: actions/checkout@v2

- name: Install icedtea
run: sudo apt-get install -y icedtea-netx

- name: javabuild
run: mvn -B install -Pdist


analyze1:
name: Analyze
runs-on: ubuntu-latest
@@ -57,37 +90,11 @@ jobs:
with:
languages: ${{ matrix.language }}

# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)

#- name: Autobuild
# uses: github/codeql-action/autobuild@v1


# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
- name: Install icedtea
run: sudo apt-get install -y icedtea-netx

#- name: buildenvprobe
# run: ls /usr/share/icedtea-web
#- name: buildenvprobe2
# run: ls $JAVA_HOME/jre/lib/
#- name: buildenvprobe3
# run: ls $JAVA_HOME/lib
#- name: buildenvprobe4
# run: echo $JAVA_HOME
- name: javabuild
run: mvn -B install
run: mvn -B install -Pdist -DskipTests=true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
@@ -106,19 +113,7 @@ jobs:
matrix:
language: ['csharp']


steps:
- name: Setup Java 8
uses: actions/setup-java@v1.4.3
with:
java-version: '8'
java-package: jdk
architecture: x64

- name: set JDK 8 environment variables
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
run: echo ::set-env name=JDK_8::$(echo $JAVA_HOME)

- name: Checkout repository
uses: actions/checkout@v2

0 comments on commit dce2605

Please sign in to comment.