mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
fix: deduplicated env
This commit is contained in:
parent
3fd50d41bd
commit
a51e4d59b4
1 changed files with 2 additions and 4 deletions
6
.github/workflows/build-and-test.yml
vendored
6
.github/workflows/build-and-test.yml
vendored
|
|
@ -64,6 +64,8 @@ jobs:
|
|||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
env:
|
||||
ISO_NAME: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -83,8 +85,6 @@ jobs:
|
|||
type=ref,event=pr
|
||||
|
||||
- name: Build ISO with new container
|
||||
env:
|
||||
ISO_NAME: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}
|
||||
uses: ./
|
||||
with:
|
||||
arch: ${{ env.ARCH}}
|
||||
|
|
@ -97,8 +97,6 @@ jobs:
|
|||
iso_name: ${{ env.ISO_NAME }}
|
||||
|
||||
- name: Upload ISO as artifact
|
||||
env:
|
||||
ISO_NAME: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}
|
||||
id: upload
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue