This commit is contained in:
parent
4b60617ce3
commit
bf9403538f
2 changed files with 56 additions and 56 deletions
|
@ -1,32 +1,32 @@
|
||||||
name: analyze
|
# name: analyze
|
||||||
|
#
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches: [ main ]
|
# branches: [ main ]
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ main ]
|
# branches: [ main ]
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: '24 21 * * 6'
|
# - cron: '24 21 * * 6'
|
||||||
|
#
|
||||||
jobs:
|
# jobs:
|
||||||
analyze:
|
# analyze:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
language: [ 'java' ]
|
# language: [ 'java' ]
|
||||||
permissions:
|
# permissions:
|
||||||
actions: read
|
# actions: read
|
||||||
contents: read
|
# contents: read
|
||||||
security-events: write
|
# security-events: write
|
||||||
steps:
|
# steps:
|
||||||
- name: checkout repository
|
# - name: checkout repository
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
- name: initialize CodeQL
|
# - name: initialize CodeQL
|
||||||
uses: github/codeql-action/init@v1
|
# uses: github/codeql-action/init@v1
|
||||||
with:
|
# with:
|
||||||
languages: ${{ matrix.language }}
|
# languages: ${{ matrix.language }}
|
||||||
- name: autobuild
|
# - name: autobuild
|
||||||
uses: github/codeql-action/autobuild@v1
|
# uses: github/codeql-action/autobuild@v1
|
||||||
- name: perform CodeQL analysis
|
# - name: perform CodeQL analysis
|
||||||
uses: github/codeql-action/analyze@v1
|
# uses: github/codeql-action/analyze@v1
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
name: publish
|
# name: publish
|
||||||
|
#
|
||||||
on:
|
# on:
|
||||||
release:
|
# release:
|
||||||
types: [created]
|
# types: [created]
|
||||||
|
#
|
||||||
jobs:
|
# jobs:
|
||||||
build:
|
# build:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: checkout repository
|
# - name: checkout repository
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
- name: set up java
|
# - name: set up java
|
||||||
uses: actions/setup-java@v1
|
# uses: actions/setup-java@v1
|
||||||
with:
|
# with:
|
||||||
java-version: '11'
|
# java-version: '11'
|
||||||
- name: build with maven
|
# - name: build with maven
|
||||||
run: mvn --batch-mode --file pom.xml package
|
# run: mvn --batch-mode --file pom.xml package
|
||||||
- name: upload to release
|
# - name: upload to release
|
||||||
uses: skx/github-action-publish-binaries@master
|
# uses: skx/github-action-publish-binaries@master
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
# GITHUB_TOKEN: ${{ github.token }}
|
||||||
with:
|
# with:
|
||||||
args: 'bundle/target/*.ear'
|
# args: 'bundle/target/*.ear'
|
||||||
|
|
Loading…
Add table
Reference in a new issue