From bad1cee2c2a34c01bafb46401e2ec04031f0e30e Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Fri, 26 Jul 2024 18:52:58 -0300 Subject: [PATCH] fixup Signed-off-by: Wainer dos Santos Moschetta --- .github/workflows/podvm_mkosi.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/podvm_mkosi.yaml b/.github/workflows/podvm_mkosi.yaml index 5c1d67712..c6dddac5f 100644 --- a/.github/workflows/podvm_mkosi.yaml +++ b/.github/workflows/podvm_mkosi.yaml @@ -21,7 +21,7 @@ defaults: jobs: build-binaries: name: Build binaries - if : ${{ github.event.inputs.binaries-image == '' }} + if : ${{ inputs.binaries-image == '' }} runs-on: ubuntu-latest permissions: contents: read @@ -71,7 +71,7 @@ jobs: always() && ( needs.build-binaries.result == 'success' || ( needs.build-binaries.result == 'skipped' && - github.event.inputs.binaries-image != '' + inputs.binaries-image != '' ) ) runs-on: ubuntu-latest @@ -109,10 +109,10 @@ jobs: - name: Decide on image to use id: binaries-image run: | - if [ -z "${{ github.event.inputs.binaries-image }}" ]; then + if [ -z "${{ inputs.binaries-image }}" ]; then echo "image=ghcr.io/${{ github.repository }}/podvm/binaries-fedora:${{ github.sha }}" | tee -a "$GITHUB_OUTPUT" else - echo "image=${{ github.event.inputs.binaries-image }}" | tee -a "$GITHUB_OUTPUT" + echo "image=${{ inputs.binaries-image }}" | tee -a "$GITHUB_OUTPUT" fi - name: Download binaries and unpack into binaries-tree @@ -128,7 +128,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: podvm-binaries-tree-fedora-amd64-${{ github.sha }} - path: podvm-mkosi/resources/binaries-tree + path: src/cloud-api-adaptor/podvm-mkosi/resources/binaries-tree - name: Build image working-directory: src/cloud-api-adaptor/podvm-mkosi