Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/PR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@v4
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v2
with:
ownerRepo: "sovrin-foundation"
- name: testsNeeded
Expand All @@ -44,12 +44,12 @@ jobs:
name: Lint
needs: [workflow-setup]
if: ${{ needs.workflow-setup.outputs.testsNeeded == 'true' }}
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v2

build-image:
name: Create Builder Image
needs: [workflow-setup, lint]
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v2
with:
CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}
DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/token-plugin-build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
uses: actions/checkout@v4
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v2
with:
ownerRepo: "sovrin-foundation"

lint:
name: Lint
needs: [workflow-setup]
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v2

build-image:
name: Create Builder Image
needs: [workflow-setup]
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v2
with:
CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}
DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/token-plugin-build
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publishRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
uses: actions/checkout@v4
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v2
with:
versionString: "${{ github.event.head_commit.message }}"
- name: workflow-setup
id: workflow-setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v2
with:
ownerRepo: "sovrin-foundation"

Expand All @@ -54,31 +54,31 @@ jobs:
uses: actions/checkout@v4

- name: Download sovtoken deb Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v5
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: releasepr.yaml
workflow_conclusion: success
name: sovtoken-deb
path: artifacts/sovtoken-deb
- name: Download sovtokenfees python Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v5
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: releasepr.yaml
workflow_conclusion: success
name: sovtokenfees-deb
path: artifacts/sovtokenfees-deb
- name: Download sovtoken python Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v5
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: releasepr.yaml
workflow_conclusion: success
name: sovtoken-python
path: artifacts/sovtoken-python
- name: Download sovtokenfees python Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v5
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: releasepr.yaml
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
convertPyVersion:
name: "Convert to python version flavour"
needs: [release-infos, publish-package]
uses: hyperledger/indy-shared-gha/.github/workflows/pyVersionConversion.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/pyVersionConversion.yaml@v2
with:
VERSIONTAG: ${{ needs.release-infos.outputs.VERSIONTAG }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releasepr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@ jobs:
uses: actions/checkout@v4
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v2
with:
versionString: "${{ github.event.pull_request.body }}"
- name: workflow-setup
id: workflow-setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v2
with:
ownerRepo: "sovrin-foundation"

lint:
name: Lint
needs: [release-infos]
# if: ${{ needs.release-infos.outputs.testsNeeded == 'true' }}
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v2

build-image:
name: Create Builder Image
needs: [release-infos]
if: ${{ always() }}
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v2
with:
CACHE_KEY_BUILD: ${{ needs.release-infos.outputs.CACHE_KEY_BUILD }}
DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/token-plugin-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reuseable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
path: /tmp/sovtoken-deb/

- name: Publish sovtoken-deb artifact
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v1
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v2
with:
sourceDirectory: /tmp/sovtoken-deb/
distribution: ${{ inputs.distribution }}
Expand All @@ -57,7 +57,7 @@ jobs:
path: /tmp/sovtokenfees-deb/

- name: Publish sovtokenfees-deb artifact
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v1
uses: hyperledger/indy-shared-gha/.github/actions/publish-deb@v2
with:
sourceDirectory: /tmp/sovtokenfees-deb/
distribution: ${{ inputs.distribution }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
fetch-depth: 0
- name: extract branch
id: get-branch
uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1
uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v2
with:
tag: ${{ github.ref }}
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v2
with:
versionString: "${{ github.ref }}"

Expand Down