From 99f4958c3b0fb899d93baed33004f73ae373cc90 Mon Sep 17 00:00:00 2001 From: lilyLuLiu Date: Tue, 14 Jan 2025 14:54:55 +0800 Subject: [PATCH] update --- .github/workflows/windows-artifacts.yml | 38 +++++++++++++------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/windows-artifacts.yml b/.github/workflows/windows-artifacts.yml index c8817ee50a..ef48f0e8c2 100644 --- a/.github/workflows/windows-artifacts.yml +++ b/.github/workflows/windows-artifacts.yml @@ -49,24 +49,6 @@ jobs: with: name: linux-binary path: "./out/linux-arm64/crc" - - name: Save the bundle version - run: | - ocp_version_line=$(cat Makefile | grep "OPENSHIFT_VERSION ?=") - ocp_bundle_v=${ocp_version_line##*= } - echo $ocp_bundle_v > ocp_bundle_v.json - microshift_version_line=$(cat Makefile | grep "MICROSHIFT_VERSION ?=") - microshift_bundle_v=${microshift_version_line##*= } - echo $microshift_bundle_v > microshift_bundle_v.json - - name: Upload the ocp bundle version artifact - uses: actions/upload-artifact@v4 - with: - name: ocp_bundle_v - path: ocp_bundle_v.json - - name: Upload the microshift bundle version artifact - uses: actions/upload-artifact@v4 - with: - name: microshift_bundle_v - path: microshift_bundle_v.json build-qe: runs-on: ubuntu-latest strategy: @@ -128,3 +110,23 @@ jobs: with: name: gh-context path: gh_context.json + - name: Save the bundle version + run: | + ocp_version_line=$(cat Makefile | grep "OPENSHIFT_VERSION ?=") + ocp_bundle_v=${ocp_version_line##*= } + echo $ocp_bundle_v > ocp_bundle_v.json + microshift_version_line=$(cat Makefile | grep "MICROSHIFT_VERSION ?=") + microshift_bundle_v=${microshift_version_line##*= } + echo $microshift_bundle_v > microshift_bundle_v.json + - name: Check out repository code + uses: actions/checkout@v4 + - name: Upload the ocp bundle version artifact + uses: actions/upload-artifact@v4 + with: + name: ocp_bundle_v + path: ocp_bundle_v.json + - name: Upload the microshift bundle version artifact + uses: actions/upload-artifact@v4 + with: + name: microshift_bundle_v + path: microshift_bundle_v.json