From 2bfa79fd3ae633c17403b838f9a5025f0f7fc3f3 Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Thu, 27 Jul 2023 18:10:43 +0200 Subject: [PATCH] Rework jobs --- .../workflows/release-40_publish-rc-image.yml | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release-40_publish-rc-image.yml b/.github/workflows/release-40_publish-rc-image.yml index 54c007c6a029..e17a3c04448e 100644 --- a/.github/workflows/release-40_publish-rc-image.yml +++ b/.github/workflows/release-40_publish-rc-image.yml @@ -23,32 +23,27 @@ env: REPO: ${{ github.event.repository.name }} jobs: - fetch-artifacts: + build-containers: runs-on: ubuntu-latest + strategy: + matrix: + binary: ["polkadot", "staking-miner"] steps: - name: Checkout sources uses: actions/checkout@v3 - - name: Fetch all artifacts + - name: Source common lib run: | . ./scripts/ci/common/lib.sh - fetch_release_artifacts - - build-container: - runs-on: ubuntu-latest - needs: fetch-artifacts - strategy: - matrix: - binary: ["polkadot", "staking-miner"] + - name: Fetch all artifacts + run: | + fetch_release_artifacts - steps: - name: Check ${{ matrix.binary }} working-directory: ./artifacts run: | - . ./scripts/ci/common/lib.sh - echo "Checking binary ${{ matrix.binary }}" check_sha256 ${{ matrix.binary }} check_gpg ${{ matrix.binary }}