Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu committed Jan 14, 2025
1 parent 3386fbc commit 99f4958
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/windows-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 99f4958

Please sign in to comment.