Skip to content

Commit

Permalink
switch from command execution to variable fill
Browse files Browse the repository at this point in the history
  • Loading branch information
nicorichard committed Oct 6, 2024
1 parent 2f39ac7 commit ffdeab5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
ARTIFACT_FOLDER_NAME: "XCStringsLint.artifactbundle/xcstringslint-${{ github.ref_name }}-macos"
VERSION: ${{ github.ref_name }}
run: |
mkdir -p "$(ARTIFACT_FOLDER_NAME)/bin"
mkdir -p "$ARTIFACT_FOLDER_NAME/bin"
sed 's/__VERSION__/$(VERSION)/g' .github/artifactbundle.json.template > "$(ARTIFACT_FOLDER_NAME)/info.json"
cp -f "${{ steps.build.outputs.path }}" "$(ARTIFACT_FOLDER_NAME)/bin"
cp -f "LICENSE" "$(ARTIFACT_FOLDER_NAME)"
sed 's/__VERSION__/$VERSION/g' .github/artifactbundle.json.template > "$ARTIFACT_FOLDER_NAME/info.json"
cp -f "${{ steps.build.outputs.path }}" "$ARTIFACT_FOLDER_NAME/bin"
cp -f "LICENSE" "$ARTIFACT_FOLDER_NAME"
(zip -yr - "XCStringsLint.artifactbundle") > "./XCStringsLint-macos.artifactbundle.zip"
Expand Down

0 comments on commit ffdeab5

Please sign in to comment.