From 35eca6437c37f5b2e8edd7f40889f96037423216 Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Wed, 27 Dec 2023 12:51:33 +0100 Subject: [PATCH] revert parts of #2765 --- .github/workflows/build-os-image.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-os-image.yml b/.github/workflows/build-os-image.yml index d900735dc0..5cca210819 100644 --- a/.github/workflows/build-os-image.yml +++ b/.github/workflows/build-os-image.yml @@ -187,7 +187,7 @@ jobs: uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: name: parts-${{ matrix.csp }}-${{ matrix.attestation_variant }} - path: > + path: | ${{ steps.build.outputs.image-dir }}/constellation.efi ${{ steps.build.outputs.image-dir }}/constellation.initrd ${{ steps.build.outputs.image-dir }}/constellation.vmlinuz @@ -312,7 +312,6 @@ jobs: working-directory: ${{ github.workspace }}/image run: | echo "::group::Upload Azure image" - chmod +w "${RAW_IMAGE_PATH}" upload/pack.sh azure "${RAW_IMAGE_PATH}" "${AZURE_IMAGE_PATH}" bazel run //image/upload -- image azure \ --verbose \ @@ -633,10 +632,6 @@ jobs: contents: read runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - ref: ${{ inputs.ref || github.head_ref }} - - name: Login to AWS uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 with: @@ -688,7 +683,12 @@ jobs: - name: Upload lookup table to S3 shell: bash - run: bazel run //image/upload -- info --verbose image-upload*.json + run: bazel run //image/upload -- info --verbose mkosi.output.*/*/image-upload*.json + + - name: Checkout + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + ref: ${{ inputs.ref || github.head_ref }} - name: Create CLI compatibility information artifact shell: bash