mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
fix: updated action to use outputs and build-and-test to use outputs
This commit is contained in:
parent
7b11754a5d
commit
70be95cd83
2 changed files with 15 additions and 1 deletions
11
action.yml
11
action.yml
|
|
@ -47,10 +47,19 @@ inputs:
|
|||
description: Space delimetered list of additional Lorax templates to include
|
||||
required: false
|
||||
|
||||
outputs:
|
||||
iso-path:
|
||||
value: ${{ steps.run_docker.outputs.ISO_PATH }}
|
||||
description: The location of the .iso object
|
||||
checksum-path:
|
||||
value: ${{ steps.run_docker.outputs.CHECKSUM_PATH }}
|
||||
description: The location of the checksum
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Run docker image
|
||||
id: run_docker
|
||||
shell: bash
|
||||
run: |
|
||||
# Check if running inside of the action repo
|
||||
|
|
@ -68,4 +77,6 @@ runs:
|
|||
ENROLLMENT_PASSWORD=${{ inputs.enrollment_password }} \
|
||||
SECURE_BOOT_KEY_URL=${{ inputs.secure_boot_key_url }} \
|
||||
"ADDITIONAL_TEMPLATES=${{ inputs.additional_templates }}"
|
||||
echo "ISO_PATH=$(realpath ${{ github.workspace }}/${{ inputs.iso_name }}.iso)" >> $GITHUB_OUTPUT
|
||||
echo "CHECKSUM_PATH=$(realpath ${{ github.workspace }}/${{ inputs.iso_name }}-CHECKSUM)" >> $GITHUB_OUTPUT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue