Skip to content

Build Project

Build Project #54

Workflow file for this run

name: Build Project
on:
push:
branches-ignore:
- 'dependabot/**'
tags:
- '*'
workflow_dispatch:
jobs:
CodeAudits:
name: Code Audits
uses: evanchooly/workflows/.github/workflows/code-audits.yml@master
Build:
name: Build
uses: evanchooly/workflows/.github/workflows/build.yml@master
with:
saveBuild: true
Test:
name: Tests
needs:
- CodeAudits
- Build
strategy:
matrix:
gradle: [ 7.6 ] #, 7.3, 6.9.1 ]
uses: evanchooly/workflows/.github/workflows/build.yml@master
with:
reuseBuild: true
maven-flags: "-Dgradle.version=${{ matrix.gradle }}"
Release:
name: Release
if: github.ref_type == 'branch' || github.ref_type == 'tag'
needs:
- Build
- Test
uses: evanchooly/workflows/.github/workflows/release.yml@master
with:
java: 17
secrets:
BLUESKY_PASSWORD: ${{secrets.BLUESKY_PASSWORD }}
BLUESKY_USERNAME: ${{secrets.BLUESKY_USERNAME }}
JRELEASER_GITHUB_TOKEN: ${{secrets.JRELEASER_GITHUB_TOKEN }}
JRELEASER_GPG_PASSPHRASE: ${{secrets.JRELEASER_GPG_PASSPHRASE }}
JRELEASER_GPG_PUBLIC_KEY: ${{secrets.JRELEASER_GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{secrets.JRELEASER_GPG_SECRET_KEY }}
JRELEASER_NEXUS2_PASSWORD: ${{secrets.JRELEASER_NEXUS2_PASSWORD }}
JRELEASER_NEXUS2_USERNAME: ${{secrets.JRELEASER_NEXUS2_USERNAME }}
MASTODON_ACCESS_KEY: ${{secrets.MASTODON_ACCESS_KEY }}