Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Let's try a different approach. Don't clone the repo at all, as it sh…
Browse files Browse the repository at this point in the history
…ould already be there. Let's just set the working directory.
  • Loading branch information
p5 authored Feb 29, 2024
1 parent 0082d2d commit 22c4e86
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,13 @@ runs:
echo "Host must be mounted as /host in order to make more space"
fi
- name: Install make and git
- name: Install Make
shell: bash
run: dnf install -y make git

- name: Checkout repository
uses: actions/checkout@v4
env:
ACTION_REF: ${{ github.action_ref }}
ACTION_REPO: ${{ github.action_repository }}
with:
repository: $ACTION_REPO
ref: $ACTION_REF
submodules: recursive
run: dnf install -y make

- name: Install dependencies
shell: bash
working-directory: ${{ github.action_path }}
run: make install-deps

- name: Lowercase Registry
Expand All @@ -96,6 +87,7 @@ runs:

- name: Download image
shell: bash
working-directory: ${{ github.action_path }}
run: |
make container/${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }} \
ARCH=${{ inputs.ARCH }} \
Expand All @@ -108,6 +100,7 @@ runs:
- name: Create boot.iso
shell: bash
working-directory: ${{ github.action_path }}
run: |
make boot.iso \
ARCH=${{ inputs.ARCH }} \
Expand All @@ -124,6 +117,7 @@ runs:
- name: Create deploy.iso and generate sha256 checksum
shell: bash
id: final
working-directory: ${{ github.action_path }}
run: |
make ${{ inputs.IMAGE_NAME }}-${{ inputs.IMAGE_TAG || inputs.VERSION }}.iso \
ARCH=${{ inputs.ARCH }} \
Expand Down

0 comments on commit 22c4e86

Please sign in to comment.