Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

included sovrinrepo checking and corrected version for subactions #15

Merged
merged 1 commit into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/actions/workflow-setup/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: "Hyperledger Indy Workflow Setup"
description: "Gets the relevant information for the workflow"

inputs:
ownerRepo:
description: The main repo of the work
default: "hyperledger"
required: false
outputs:
CACHE_KEY_BUILD:
description: "A Hash of the Dockerfile for checking if rebuild is needed"
Expand Down Expand Up @@ -42,8 +47,8 @@ runs:
echo "::set-output name=UBUNTU_VERSION::ubuntu-2004"
echo "::set-output name=distribution::focal"

# Ensure publishing is only performed when the build is executed from the main (hyperledger/indy-plenum) repository.
if [[ ${{ github.repository_owner }} == 'hyperledger' ]]; then
# Ensure publishing is only performed when the build is executed from the main organization.
if [[ ${{ github.repository_owner }} == '${{ inputs.ownerRepo }}' ]]; then
echo "::set-output name=publish::true"
else
echo "::set-output name=publish::false"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/buildpackages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Set Build Version
id: version
uses: hyperledger/indy-shared-gha/.github/actions/set-version@v1.0.0
uses: hyperledger/indy-shared-gha/.github/actions/set-version@v1
with:
moduleName: ${{ inputs.moduleName }}
isDev: ${{ inputs.isDev }}
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:

- name: Set Build Version
id: version
uses: hyperledger/indy-shared-gha/.github/actions/set-version@v1.0.0
uses: hyperledger/indy-shared-gha/.github/actions/set-version@v1
with:
moduleName: ${{ inputs.moduleName }}
isDev: ${{ inputs.isDev }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
path: to_publish

- name: Publish Artifacts
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v1.0.0
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v1
with:
sourceDirectory: ./to_publish
distribution: ${{ inputs.distribution }}
Expand All @@ -65,7 +65,7 @@ jobs:
path: ./third-party-dependencies_to_publish

- name: Publish 3rd Party Dependencies
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v1.0.0
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v1
with:
sourceDirectory: ./third-party-dependencies_to_publish
distribution: ${{ inputs.distribution }}
Expand Down