mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
fix: fixed id and removed trailing slash
This commit is contained in:
parent
291f17fbc8
commit
ebed6937c1
1 changed files with 5 additions and 5 deletions
10
action.yml
10
action.yml
|
|
@ -49,20 +49,19 @@ inputs:
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
output-directory:
|
output-directory:
|
||||||
value: ${{ steps.run_docker.outputs.OUTPUT_DIRECTORY }}
|
value: ${{ steps.rename_iso.outputs.OUTPUT_DIRECTORY }}
|
||||||
description: The location of all output objects
|
description: The location of all output objects
|
||||||
iso-path:
|
iso-path:
|
||||||
value: ${{ steps.run_docker.outputs.ISO_PATH }}
|
value: ${{ steps.rename_iso.outputs.ISO_PATH }}
|
||||||
description: The location of the .iso object
|
description: The location of the .iso object
|
||||||
checksum-path:
|
checksum-path:
|
||||||
value: ${{ steps.run_docker.outputs.CHECKSUM_PATH }}
|
value: ${{ steps.rename_iso.outputs.CHECKSUM_PATH }}
|
||||||
description: The location of the checksum
|
description: The location of the checksum
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Run docker image
|
- name: Run docker image
|
||||||
id: run_docker
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# Check if running inside of the action repo
|
# Check if running inside of the action repo
|
||||||
|
|
@ -81,11 +80,12 @@ runs:
|
||||||
SECURE_BOOT_KEY_URL=${{ inputs.secure_boot_key_url }} \
|
SECURE_BOOT_KEY_URL=${{ inputs.secure_boot_key_url }} \
|
||||||
"ADDITIONAL_TEMPLATES=${{ inputs.additional_templates }}"
|
"ADDITIONAL_TEMPLATES=${{ inputs.additional_templates }}"
|
||||||
- name: Rename ISO file
|
- name: Rename ISO file
|
||||||
|
id: rename_iso
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mv ${{ github.workspace }}/build/deploy.iso ${{ github.workspace }}/build/${{ inputs.iso_name }}.iso
|
mv ${{ github.workspace }}/build/deploy.iso ${{ github.workspace }}/build/${{ inputs.iso_name }}.iso
|
||||||
cd ${{ github.workspace }}/build
|
cd ${{ github.workspace }}/build
|
||||||
sha256sum ${{ inputs.iso_name }}.iso > ${{ inputs.iso_name }}-CHECKSUM
|
sha256sum ${{ inputs.iso_name }}.iso > ${{ inputs.iso_name }}-CHECKSUM
|
||||||
echo "OUTPUT_DIRECTORY=$(realpath ${{ github.workspace }}/build/)" >> $GITHUB_OUTPUT
|
echo "OUTPUT_DIRECTORY=$(realpath ${{ github.workspace }}/build)" >> $GITHUB_OUTPUT
|
||||||
echo "ISO_PATH=$(realpath ${{ github.workspace }}/build/${{ inputs.iso_name }}.iso)" >> $GITHUB_OUTPUT
|
echo "ISO_PATH=$(realpath ${{ github.workspace }}/build/${{ inputs.iso_name }}.iso)" >> $GITHUB_OUTPUT
|
||||||
echo "CHECKSUM_PATH=$(realpath ${{ github.workspace }}/build/${{ inputs.iso_name }}-CHECKSUM)" >> $GITHUB_OUTPUT
|
echo "CHECKSUM_PATH=$(realpath ${{ github.workspace }}/build/${{ inputs.iso_name }}-CHECKSUM)" >> $GITHUB_OUTPUT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue