https://github.com/hyperledger/indy-shared-gha
https://github.com/hyperledger/indy-shared-gha
indy
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hyperledger/indy-shared-gha
- Owner: hyperledger
- License: apache-2.0
- Created: 2022-03-24T15:45:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T13:48:08.000Z (11 months ago)
- Last Synced: 2025-02-25T21:58:16.740Z (3 months ago)
- Topics: indy
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 17
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Indy Shared GHA Components
This repository contains reusable workflows and actions used by the Indy projects.
## Actions
To use an action from this repository specify the `uses:` in the following manner:
Example:
```
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/[email protected]
with:
versionString: "${{ github.event.pull_request.body }}"
```## Workflows
To use an workflow from this repository specify the `uses:` in the following manner:
Example:
```
jobs:...
lint:
name: Lint
needs: [release-infos]
if: needs.infos.outputs.isVersionBump == 'true'
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yamlbuild-docker-image:
name: Create Builder Image
needs: [lint, release-infos]
if: needs.infos.outputs.isVersionBump == 'true'
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml
with:
CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}
GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}
UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}build_packages:
name: Build Packages
needs: [release-infos, plenum_tests]
if: needs.infos.outputs.isVersionBump == 'true'
uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml
with:
GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}
UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}
isDev: 'false'
isRC: '${{ needs.infos.outputs.isPreRelease }}'
```