mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-03 06:00:57 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ '**' ]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Fetch Sources
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '11'
|
|
distribution: 'temurin'
|
|
|
|
- name: Generate Grammar Source
|
|
run: ./gradlew generateGrammarSource
|
|
|
|
- name: Run Tests
|
|
run: ./gradlew check
|
|
|
|
- name: Collect Tests Result
|
|
if: ${{ failure() }}
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: tests-result
|
|
path: ${{ github.workspace }}/build/reports/tests
|
|
|
|
verify:
|
|
name: Verify Plugin
|
|
needs: [ build ]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Maximize Build Space
|
|
uses: jlumbroso/free-disk-space@main
|
|
with:
|
|
tool-cache: false
|
|
large-packages: false
|
|
|
|
- name: Fetch Sources
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '11'
|
|
distribution: 'temurin'
|
|
|
|
- name: Run Plugin Verification tasks
|
|
run: ./gradlew runPluginVerifier
|
|
|
|
- name: Collect Plugin Verifier Result
|
|
if: ${{ always() }}
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: pluginVerifier-result
|
|
path: ${{ github.workspace }}/build/reports/pluginVerifier
|