Skip to content

Commit

Permalink
ci: adjust compile destination paths
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinWilkinson committed Nov 29, 2023
1 parent b53a068 commit 4e79f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/cicd/scripts/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const compileTargetAsync = async (compileTarget: string): Promise<string> => {
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);
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e79f9b

Please sign in to comment.