Skip to content

Commit 209f643

Browse files
committed
chore: (hopefully) fix to build process
1 parent e9e7552 commit 209f643

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/cd.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,23 +120,23 @@ jobs:
120120

121121
- name: Debug List Files after Download, Windows
122122
if: runner.os == 'Windows'
123-
run: Get-ChildItem -Path dist_bin
123+
run: Get-ChildItem
124124

125125
- name: Debug List Files after Download
126126
if: runner.os != 'Windows'
127-
run: ls -l dist_bin
127+
run: ls -l
128128

129129
- name: Extract Linux Binary
130130
if: runner.os == 'Linux'
131-
run: tar xvf dist_bin/smartthings-linux-x64.tgz
131+
run: tar xvf smartthings-linux-x64.tgz
132132

133133
- name: Extract MacOS Binary
134134
if: runner.os == 'macOS'
135-
run: tar xvf dist_bin/smartthings-mac-arm64.tgz
135+
run: tar xvf smartthings-mac-arm64.tgz
136136

137137
- name: Extract Windows Binary
138138
if: runner.os == 'Windows'
139-
run: Expand-Archive -Path dist_bin\smartthings-windows-x64.zip -DestinationPath "${{ github.workspace }}"
139+
run: Expand-Archive -Path smartthings-windows-x64.zip -DestinationPath "${{ github.workspace }}"
140140

141141
- uses: actions/setup-python@v6.1.0
142142
with:
@@ -188,7 +188,7 @@ jobs:
188188
name: Binaries
189189

190190
- name: Debug Downloaded Artifacts
191-
run: ls -l dist_bin/smartthings-*.{tgz,zip}
191+
run: ls -l smartthings-*.{tgz,zip}
192192

193193
- name: Setup Node.js
194194
uses: actions/setup-node@v6.1.0
@@ -202,7 +202,7 @@ jobs:
202202
tag_name: ${{ needs.npm-release.outputs.cli-tag }}
203203
generate_release_notes: true
204204
prerelease: false
205-
files: 'dist_bin/smartthings-*.{tgz,zip}'
205+
files: 'smartthings-*.{tgz,zip}'
206206

207207
homebrew-formula:
208208
needs: [npm-release, github-release]
@@ -259,10 +259,10 @@ jobs:
259259
name: Binaries
260260

261261
- name: Debug List Files after Download
262-
run: Get-ChildItem -Path dist_bin
262+
run: Get-ChildItem
263263

264264
- name: Extract Windows Binary
265-
run: Expand-Archive -Path dist_bin\smartthings-windows-x64.zip -DestinationPath "${{ github.workspace }}\wix"
265+
run: Expand-Archive -Path smartthings-windows-x64.zip -DestinationPath "${{ github.workspace }}\wix"
266266

267267
- name: Debug List Files after Extraction
268268
run: Get-ChildItem -Path .\wix

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"test-watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch --reporters=default",
118118
"test-coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage=true",
119119
"prepack": "tsc && npm run readme",
120-
"version": "npm run readme && git add README.md && changeset version && npm i --package-lock-only && npm run build && npm run version -w packages/cli",
120+
"version": "npm run build && npm run readme && git add README.md && changeset version && npm i --package-lock-only && npm run compile && npm run version -w packages/cli",
121121
"release": "npm run build && changeset publish",
122122
"package": "tsx src/build-tools/build-binaries.ts"
123123
},

0 commit comments

Comments
 (0)