Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/centic9/actions
Repository of reusable Github workflows
https://github.com/centic9/actions
Last synced: 2 days ago
JSON representation
Repository of reusable Github workflows
- Host: GitHub
- URL: https://github.com/centic9/actions
- Owner: centic9
- License: bsd-2-clause
- Created: 2021-12-01T07:06:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T11:17:24.000Z (23 days ago)
- Last Synced: 2024-09-10T12:48:02.158Z (23 days ago)
- Size: 17.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
This is a repository of reusable Github workflows
Currently the following workflows are provided:
# Used actions
The following actions are used currently
* [actions/checkout](https://github.com/actions/checkout/)
* [actions/setup-java](https://github.com/actions/setup-java/)
* [actions/cache](https://github.com/actions/cache/)
* [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action/)
* [EnricoMi/publish-unit-test-result-action](https://github.com/EnricoMi/publish-unit-test-result-action/)# Necessary permissions
See [EnricoMi/publish-unit-test-result-action/#permissions](https://github.com/EnricoMi/publish-unit-test-result-action/?tab=readme-ov-file#permissions)
# gradle-build.yml
Performs checkout, build and test of a Gradle based project.
```yaml
jobs:
build-and-test:
uses: centic9/actions/.github/workflows/gradle-build.yml@3
```A sample full workflow file is as follows
```yaml
# This workflow will perform a build of the project and run testsname: 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
```yaml
uses: centic9/actions/.github/workflows/gradle-build.yml@5
with:
isApplication: true
```If you require a full git-checkout, you can use
```yaml
uses: centic9/actions/.github/workflows/gradle-build.yml@5
with:
fullCheckout: true
```If additional Ubuntu/Debian packages are required, use the following
```yaml
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.
```yaml
jobs:
build-and-test:
uses: centic9/actions/.github/workflows/gradle-build.yml@3
```A sample full workflow file is as follows
```yaml
# This workflow will perform a build of the project and run testsname: 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
```yaml
uses: centic9/actions/.github/workflows/maven-build.yml@5
with:
fullCheckout: true
```If additional Ubuntu/Debian packages are required, use the following
```yaml
uses: centic9/actions/.github/workflows/maven-build.yml@5
with:
addPackage: libfuse2
```# License
These scripts are licensed under the [BSD 2-Clause License].
[BSD 2-Clause License]: https://www.opensource.org/licenses/bsd-license.php