Skip to content

Commit

Permalink
generate .tgz file (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
minggo authored Nov 23, 2023
1 parent ebf8200 commit 3d19c11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
#Requires -Version "6.1"
$osName = if ($IsWindows) { "win32" } elseif ($IsLinux) { "ubuntu" } else { "darwin" }
$artifactPath = "FBX-glTF-conv-${{ needs.get_release_info_job.outputs.version }}-$osName.zip"
$artifactPath = "FBX-glTF-conv-${{ needs.get_release_info_job.outputs.version }}-$osName.tgz"
Write-Output "::set-output name=artifact_path::$artifactPath"
- id: build
name: Build
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
run: |
#Requires -Version "6.1"
$osName = if ($IsWindows) { "win32" } elseif ($IsLinux) { "ubuntu" } else { "darwin" }
$artifactPath = "FBX-glTF-conv-${{ needs.get_release_info_job.outputs.version }}-$osName.zip"
$artifactPath = "FBX-glTF-conv-${{ needs.get_release_info_job.outputs.version }}-$osName.tgz"
Write-Output "::set-output name=artifact_path::$artifactPath"
- id: build
name: Build
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
shell: pwsh
run: |
#Requires -Version "6.1"
$artifactPath = "FBX-glTF-conv-${{ needs.get_release_info_job.outputs.version }}-types.zip"
$artifactPath = "FBX-glTF-conv-${{ needs.get_release_info_job.outputs.version }}-types.tgz"
Write-Output "::set-output name=artifact_path::$artifactPath"
- id: build
name: Build
Expand Down
2 changes: 1 addition & 1 deletion CI/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ build() {
fi

if [ -n "$ArtifactPath" ]; then
gzip -cr $cmakeInstallPrefix > $ArtifactPath
tar -czvf $ArtifactPath -C $cmakeInstallPrefix .
fi
}

Expand Down

0 comments on commit 3d19c11

Please sign in to comment.