diff --git a/.github/workflows/test-iso.yml b/.github/workflows/test-iso.yml index bf8f02d..89c3acd 100644 --- a/.github/workflows/test-iso.yml +++ b/.github/workflows/test-iso.yml @@ -52,8 +52,6 @@ jobs: IMAGE_REPO: 'ghcr.io/ublue-os' VARIANT: 'Kinoite' VERSION: ${{ matrix.version }} - ACTION_REPO: ${{ github.repository }} - ACTION_REF: ${{ github.ref }} SECURE_BOOT_KEY_URL: ${{ matrix.SECURE_BOOT_KEY_URL }} ENROLLMENT_PASSWORD: ${{ matrix.ENROLLMENT_PASSWORD }} diff --git a/action.yml b/action.yml index c7fb3e2..edff1ab 100644 --- a/action.yml +++ b/action.yml @@ -40,13 +40,11 @@ inputs: description: Secure boot key that is installed from URL location required: false ACTION_REPO: - description: Repository with the build action + deprecationMessage: This variable is no longer used and will be removed in a future version required: false - default: ${{ github.repository }} ACTION_REF: - description: Repository ref for the build action + deprecationMessage: This variable is no longer used and will be removed in a future version required: false - default: ${{ github.ref }} outputs: output-directory: @@ -78,19 +76,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 - with: - repository: ${{ inputs.ACTION_REPO }} - ref: ${{ inputs.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 @@ -101,6 +93,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 }} \ @@ -113,6 +106,7 @@ runs: - name: Create boot.iso shell: bash + working-directory: ${{ github.action_path }} run: | make boot.iso \ ARCH=${{ inputs.ARCH }} \ @@ -129,6 +123,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 }} \