Skip to content

Commit

Permalink
updated Actions because of
Browse files Browse the repository at this point in the history
Node.js 12 deprecation in GHA

Signed-off-by: pSchlarb <p.schlarb@esatus.com>
  • Loading branch information
pSchlarb committed Oct 19, 2022
1 parent 8386ef2 commit 2cb948f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/PR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}
steps:
- name: checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
- 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 @@ -25,7 +25,7 @@ jobs:
publish: ${{ steps.setup.outputs.publish }}
steps:
- name: checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: setup
id: setup
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publishRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
publish: ${{ steps.workflow-setup.outputs.publish }}
steps:
- name: checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download Plenum deb Artifacts from Github Action Artifacts
uses: dawidd6/action-download-artifact@v2
Expand All @@ -74,17 +74,17 @@ jobs:
workflow_conclusion: success
name: third-party-dependencies
path: artifacts/third-party-dependencies
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: third-party-dependencies
path: artifacts/third-party-dependencies
retention-days: 5
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: plenum-deb
path: artifacts/plenum-deb
retention-days: 5
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: plenum-python
path: artifacts/plenum-python
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@v2
uses: actions/checkout@v3
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/reuseable_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v3
with:
# pip cache on the plenum-build image is not in the default location.
# path: ~/.cache/pip
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Upload Detailed Test Failure Results
# The test runner only emits the detailed test results if the tests fail.
if: (steps.plenum-test.outcome == 'failure') && failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: detailed-test-result-slice-${{ matrix.slice }}
path: test-result-plenum-${{ matrix.slice }}.txt
Expand All @@ -86,10 +86,10 @@ jobs:
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v3
with:
# pip cache on the plenum-build image is not in the default location.
# path: ~/.cache/pip
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
run: |
raw=$(git branch -r --contains ${{ github.ref }})
branch=${raw/origin\/}
echo ::set-output\ name=BASE::$branch
echo "BASE=$branch" >> $GITHUB_OUTPUT
echo "::debug::BASE is being set to $branch"
echo "::group::DEBUG"
echo "BASE is being set to $branch"
echo "::endgroup::"
- name: get-release-info
id: get-release-info
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
Expand All @@ -36,7 +39,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit 2cb948f

Please sign in to comment.