1
0
Fork 0
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:
Noel Miller 2024-03-06 01:01:47 -06:00
parent 3fd50d41bd
commit a51e4d59b4

View file

@ -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: