Skip to content

Commit

Permalink
#1 adding build action
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnyprod committed Jul 8, 2022
1 parent 9972395 commit dacc989
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 'Test Suite'

# **What it does**: Renders the content of every page and check all internal links.
# **Why we have it**: To make sure all links connect correctly.
# **Who does it impact**: Docs content.

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read
# Needed for the 'trilom/file-changes-action' action
pull-requests: read

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: set gradle opts
uses: allenevans/[email protected]
with:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
- name: set gradle user home
run: export GRADLE_USER_HOME=`pwd`/.gradle
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: create chain credentials
uses: finnp/[email protected]
env:
FILE_NAME: ".ssl-keys/chain.crt"
FILE_DATA: $CHAIN_CERT
- name: create chain credentials
uses: finnp/[email protected]
env:
FILE_NAME: ".ssl-keys/private.pem"
FILE_DATA: $PRIVATE_PEM
- name: create chain credentials
uses: finnp/[email protected]
env:
FILE_NAME: ".ssl-keys/password.txt"
FILE_DATA: $PASSWORD_TXT
- name: Build with Gradle
run: ./gradlew --build-cache clean buildPlugin
- name: upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: build/distributions

0 comments on commit dacc989

Please sign in to comment.