From 4e79f9bbad8ec7a350b2efb713d4255b7c6a9db2 Mon Sep 17 00:00:00 2001 From: Calvin Wilkinson Date: Wed, 29 Nov 2023 22:00:49 +0000 Subject: [PATCH] ci: adjust compile destination paths --- .github/cicd/scripts/compiler.ts | 2 +- .github/workflows/release.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/cicd/scripts/compiler.ts b/.github/cicd/scripts/compiler.ts index 85a5f1f..8a6e606 100644 --- a/.github/cicd/scripts/compiler.ts +++ b/.github/cicd/scripts/compiler.ts @@ -42,7 +42,7 @@ const compileTargetAsync = async (compileTarget: string): Promise => { const fileExtension = compileTarget === "win-x64" ? ".exe" : ""; const fileName = `kdcli-${compileTarget}${fileExtension}`; const cwd = Deno.cwd(); - let command = `deno compile --target ${denoCompileTarget} --output '${cwd}/${outputDir}/${compileTarget}/${fileName}' '${cwd}/src/main.ts'`; + let command = `deno compile --target ${denoCompileTarget} --output '${cwd}/${outputDir}/${fileName}' '${cwd}/src/main.ts'`; console.log(`Compiling with the deno command:\n\t${command}`); const commandResult = await cli.runAsync(command); diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32e0dab..81b4831 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -143,10 +143,7 @@ jobs: body_path: "${{ github.workspace }}/ReleaseNotes/${{ inputs.release-type }}Releases/Release-Notes-${{ needs.get_version.outputs.version }}.md" files: | "${{ github.workspace }}/ReleaseNotes/${{ inputs.release-type }}Releases/Release-Notes-${{ needs.get_version.outputs.version }}.md" - "${{ github.workspace }}/${{ vars.RELATIVE_DIST_DIR_PATH }}/win-x64/kdcli-win-x64.exe" - "${{ github.workspace }}/${{ vars.RELATIVE_DIST_DIR_PATH }}/linux-x64/kdcli-linux-x64" - "${{ github.workspace }}/${{ vars.RELATIVE_DIST_DIR_PATH }}/mac-x64/kdcli-mac-x64" - "${{ github.workspace }}/${{ vars.RELATIVE_DIST_DIR_PATH }}/mac-arm/kdcli-mac-arm" + "${{ github.workspace }}/${{ vars.RELATIVE_DIST_DIR_PATH }}/kdcli*" tag_name: "${{ needs.get_version.outputs.version }}" prerelease: ${{ inputs.release-type == 'Preview' }} draft: false