Skip to content

centic9/actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a repository of reusable Github workflows

Currently the following workflows are provided:

Used actions

The following actions are used currently

Necessary permissions

See EnricoMi/publish-unit-test-result-action/#permissions

gradle-build.yml

Performs checkout, build and test of a Gradle based project.

    jobs:
      build-and-test:
        uses: centic9/actions/.github/workflows/gradle-build.yml@3

A sample full workflow file is as follows

    # This workflow will perform a build of the project and run tests

    name: Build and check

    on:
      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
      # Allows to run from the Actions tab
      workflow_dispatch:

    jobs:
      build-and-test:
        uses: centic9/actions/.github/workflows/gradle-build.yml@5

It can also call installDist via the following

        uses: centic9/actions/.github/workflows/gradle-build.yml@5
        with:
          isApplication: true

If you require a full git-checkout, you can use

        uses: centic9/actions/.github/workflows/gradle-build.yml@5
        with:
          fullCheckout: true

If additional Ubuntu/Debian packages are required, use the following

        uses: centic9/actions/.github/workflows/gradle-build.yml@5
        with:
          addPackage: libfuse2

maven-build.yml

Performs checkout, build and test of a Maven based project.

    jobs:
      build-and-test:
        uses: centic9/actions/.github/workflows/gradle-build.yml@3

A sample full workflow file is as follows

# This workflow will perform a build of the project and run tests

name: Build and check

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  # Allows to run from the Actions tab
  workflow_dispatch:

jobs:
  build-and-test:
    uses: centic9/actions/.github/workflows/maven-build.yml@5

If you require a full git-checkout, you can use

        uses: centic9/actions/.github/workflows/maven-build.yml@5
        with:
          fullCheckout: true

If additional Ubuntu/Debian packages are required, use the following

        uses: centic9/actions/.github/workflows/maven-build.yml@5
        with:
          addPackage: libfuse2

License

These scripts are licensed under the BSD 2-Clause License.

About

Repository of reusable Github workflows

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published