From 2f39ac7d59746240476cdfbb016e603645aa79d2 Mon Sep 17 00:00:00 2001 From: Nico Richard Date: Sun, 6 Oct 2024 11:03:06 -0500 Subject: [PATCH] set env earlier --- .github/workflows/archive.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/archive.yaml b/.github/workflows/archive.yaml index 85074a2..6ac1c29 100644 --- a/.github/workflows/archive.yaml +++ b/.github/workflows/archive.yaml @@ -21,10 +21,10 @@ jobs: echo "path=artifact/xcstringslint" >> "$GITHUB_OUTPUT" - name: Build artifact bundle + env: + ARTIFACT_FOLDER_NAME: "XCStringsLint.artifactbundle/xcstringslint-${{ github.ref_name }}-macos" + VERSION: ${{ github.ref_name }} run: | - VERSION="${{ github.ref_name }}" - ARTIFACT_FOLDER_NAME="XCStringsLint.artifactbundle/xcstringslint-$(VERSION)-macos" - mkdir -p "$(ARTIFACT_FOLDER_NAME)/bin" sed 's/__VERSION__/$(VERSION)/g' .github/artifactbundle.json.template > "$(ARTIFACT_FOLDER_NAME)/info.json"