From a51e4d59b4aac30392c306488d41f681e8fde26b Mon Sep 17 00:00:00 2001 From: Noel Miller Date: Wed, 6 Mar 2024 01:01:47 -0600 Subject: [PATCH] fix: deduplicated env --- .github/workflows/build-and-test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index caea6b7..4c42fee 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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: