mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +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:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
env:
|
||||||
|
ISO_NAME: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -83,8 +85,6 @@ jobs:
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
|
|
||||||
- name: Build ISO with new container
|
- name: Build ISO with new container
|
||||||
env:
|
|
||||||
ISO_NAME: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}
|
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
arch: ${{ env.ARCH}}
|
arch: ${{ env.ARCH}}
|
||||||
|
|
@ -97,8 +97,6 @@ jobs:
|
||||||
iso_name: ${{ env.ISO_NAME }}
|
iso_name: ${{ env.ISO_NAME }}
|
||||||
|
|
||||||
- name: Upload ISO as artifact
|
- name: Upload ISO as artifact
|
||||||
env:
|
|
||||||
ISO_NAME: ${{ env.IMAGE_NAME }}-${{ env.VERSION }}
|
|
||||||
id: upload
|
id: upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue