Skip to content

Commit

Permalink
set env earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
nicorichard committed Oct 6, 2024
1 parent 8435cc8 commit 2f39ac7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2f39ac7

Please sign in to comment.