Skip to content

Commit

Permalink
Use callable workflow from release-2.2 branch in scheduled builds
Browse files Browse the repository at this point in the history
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
  • Loading branch information
bestbeforetoday committed Jan 12, 2023
1 parent 11561d8 commit 413eb83
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ name: Scheduled build
on:
schedule:
- cron: "5 0 * * *"
pull_request:
branches:
- main

jobs:
main:
uses: ./.github/workflows/test.yml
release-2_2:
name: release-2.2
uses: hyperledger/fabric-sdk-java/.github/workflows/test.yml@release-2.2
with:
checkout-ref: release-2.2
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion scripts/pull-fabric-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e
set -euo pipefail

# FABRIC_VERSION is set overridden by CI pipeline
# FABRIC_VERSION is overridden by CI pipeline
VERSION=${FABRIC_VERSION:-2.2}
STABLE_TAG=amd64-${VERSION}-stable

Expand Down

0 comments on commit 413eb83

Please sign in to comment.