From 39076534130414fa17f47a19e9227d2581ce7c71 Mon Sep 17 00:00:00 2001 From: Robert Sturla Date: Sun, 25 Feb 2024 17:54:40 +0000 Subject: [PATCH] Remove checkout step in action --- action.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/action.yml b/action.yml index 83438cd..62c1cbf 100644 --- a/action.yml +++ b/action.yml @@ -32,14 +32,6 @@ inputs: description: Enable Anaconda WebUI required: true default: "false" - ACTION_REPO: - description: Repository with the build action - required: false - default: ${{ github.repository }} - ACTION_REF: - description: Repository ref for the build action - required: false - default: ${{ github.ref }} runs: using: composite @@ -67,13 +59,6 @@ runs: shell: bash run: dnf install -y make git - - name: Checkout repository - uses: actions/checkout@v4 - with: - repository: ${{ inputs.ACTION_REPO }} - ref: ${{ inputs.ACTION_REF }} - submodules: recursive - - name: Install dependencies shell: bash run: make install-deps @@ -87,7 +72,7 @@ runs: - name: Download image shell: bash run: | - make container/${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }} \ + make -C ${{ github.action_path }} container/${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }} \ ARCH=${{ inputs.ARCH }} \ IMAGE_NAME=${{ inputs.IMAGE_NAME }} \ IMAGE_REPO=${{ steps.registry_case.outputs.lowercase }} \ @@ -99,7 +84,7 @@ runs: - name: Create boot.iso shell: bash run: | - make boot.iso \ + make -C ${{ github.action_path }} boot.iso \ ARCH=${{ inputs.ARCH }} \ IMAGE_NAME=${{ inputs.IMAGE_NAME }} \ IMAGE_REPO=${{ steps.registry_case.outputs.lowercase }} \ @@ -112,7 +97,7 @@ runs: - name: Create deploy.iso and generate sha256 checksum shell: bash run: | - make ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso \ + make -C ${{ github.action_path }} ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso \ ARCH=${{ inputs.ARCH }} \ IMAGE_NAME=${{ inputs.IMAGE_NAME }} \ IMAGE_REPO=${{ steps.registry_case.outputs.lowercase }} \