Skip to content

Commit

Permalink
Upgrade GHA versions
Browse files Browse the repository at this point in the history
- Address warning raised while running workflows.

Signed-off-by: Wade Barnes <wade@neoterictech.ca>
  • Loading branch information
WadeBarnes committed Feb 7, 2024
1 parent 4883ea2 commit 2953c8f
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/actions/getNewNodeVersion/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ inputs:
default: "true"

outputs:
nodeVersion:
nodeVersion:
description: "The new Version. (Bumped Patch by 1)"
value: ${{ steps.versions.outputs.nodeVersion }}

runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -28,7 +28,7 @@ runs:
minor=$(python3 -c "from indy_node import load_version; patch = load_version().parts[1]; print('' if patch is None else patch)")
patch=$(python3 -c "from indy_node import load_version; patch = load_version().parts[2]; patch+=1; print('' if patch is None else patch)")
if [[ "${{ inputs.isRC }}" == "true" ]]; then
export nodeVersion="${major}.${minor}.${patch}rc1"
export nodeVersion="${major}.${minor}.${patch}rc1"
else
export nodeVersion="${major}.${minor}.${patch}"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
publish: ${{ steps.setup.outputs.publish }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/publishRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
publish: ${{ steps.workflow-setup.outputs.publish }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
Expand All @@ -39,16 +39,16 @@ jobs:
- name: workflow-setup
id: workflow-setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1

createRelease:
name: Create Release
needs: [release-infos]
if: needs.release-infos.outputs.isVersionBump == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download Node deb Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v2
with:
Expand All @@ -73,17 +73,17 @@ jobs:
workflow_conclusion: success
name: third-party-dependencies
path: artifacts/third-party-dependencies
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: third-party-dependencies
path: artifacts/third-party-dependencies
retention-days: 5
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: indy_node-deb
path: artifacts/indy_node-deb
retention-days: 5
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: indy_node-python
path: artifacts/indy_node-python
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
COMPONENT: ${{ needs.release-infos.outputs.component }}
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
distribution: ${{ needs.release-infos.outputs.distribution }}
moduleName: indy_node
moduleName: indy_node
secrets:
INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
Expand All @@ -132,7 +132,7 @@ jobs:
needs: [release-infos, publish_artifacts, convertPyVersion]
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.BOT_PR_PAT }}
repository: sovrin-foundation/sovrin
Expand All @@ -144,7 +144,7 @@ jobs:
needs: [release-infos, publish_artifacts, convertPyVersion]
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.BOT_PR_PAT }}
repository: sovrin-foundation/token-plugin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releasepr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
distribution: ${{ steps.workflow-setup.outputs.distribution }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
update-setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Update indy-plenum to ${{ github.event.client_payload.pyVersion }}
run: |
sed -i "s/\(indy-plenum==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }},/g" setup.py
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reuseable_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

# ===============================================
# Caching cannot be used.
Expand All @@ -47,7 +47,7 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-indy-node-pip-
- name: Download node deb
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: indy_node-deb

Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Upload Detailed Test Failure Results
# The test runner only emits the detailed test results if the tests fail.
if: (steps.node-test.outcome == 'failure') && failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: detailed-test-result-slice-${{ matrix.slice }}
path: test-result-node-${{ matrix.slice }}.txt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
BASE: ${{ steps.get-branch.outputs.branch }}
steps:
- name: checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: extract branch
- name: extract branch
id: get-branch
uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1
with:
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit 2953c8f

Please sign in to comment.