Skip to content

Commit

Permalink
Tue 24 Dec 2024 23:15:24 NZDT
Browse files Browse the repository at this point in the history
  • Loading branch information
YardQuit committed Dec 24, 2024
1 parent 2f00c73 commit e81a99d
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,31 +138,31 @@ jobs:
extra-args: |
--compression-format=zstd
# Build ISO
- name: Build ISO
uses: jasonn3/build-container-installer@main
id: build
with:
arch: ${{ env.ARCH}}
image_name: ${{ env.IMAGE_NAME}}
image_repo: ${{ env.IMAGE_REPO}}
image_tag: ${{ env.IMAGE_TAG }}
version: ${{ env.VERSION }}
variant: ${{ env.VARIANT }}
iso_name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_TAG }}-${{ env.VERSION }}.iso

# This example is for uploading your ISO as a Github artifact. You can do something similar using any cloud storage, so long as you copy the output
- name: Upload ISO as artifact
id: upload
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build.outputs.iso_name }}
path: |
${{ steps.build.outputs.iso_path }}
${{ steps.build.outputs.iso_path }}-CHECKSUM
if-no-files-found: error
retention-days: 0
compression-level: 0
# # Build ISO
# - name: Build ISO
# uses: jasonn3/build-container-installer@main
# id: build
# with:
# arch: ${{ env.ARCH}}
# image_name: ${{ env.IMAGE_NAME}}
# image_repo: ${{ env.IMAGE_REPO}}
# image_tag: ${{ env.IMAGE_TAG }}
# version: ${{ env.VERSION }}
# variant: ${{ env.VARIANT }}
# iso_name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_TAG }}-${{ env.VERSION }}.iso

# # This example is for uploading your ISO as a Github artifact. You can do something similar using any cloud storage, so long as you copy the output
# - name: Upload ISO as artifact
# id: upload
# uses: actions/upload-artifact@v4
# with:
# name: ${{ steps.build.outputs.iso_name }}
# path: |
# ${{ steps.build.outputs.iso_path }}
# ${{ steps.build.outputs.iso_path }}-CHECKSUM
# if-no-files-found: error
# retention-days: 0
# compression-level: 0

# This section is optional and only needs to be enabled if you plan on distributing
# your project for others to consume. You will need to create a public and private key
Expand Down

0 comments on commit e81a99d

Please sign in to comment.