Skip to content

Commit dcb790f

Browse files
authored
Fix release workflow. (actions#3102)
1 parent b7ab810 commit dcb790f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/release.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ jobs:
163163
core.setOutput('note', releaseNote);
164164
165165
- name: Validate Packages HASH
166-
working-directory: _package
167166
run: |
168167
ls -l
169168
echo "${{needs.build.outputs.win-x64-sha}} actions-runner-win-x64-${{ steps.releaseNote.outputs.version }}.zip" | shasum -a 256 -c
@@ -193,7 +192,7 @@ jobs:
193192
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
194193
with:
195194
upload_url: ${{ steps.createRelease.outputs.upload_url }}
196-
asset_path: ${{ github.workspace }}/_package/actions-runner-win-x64-${{ steps.releaseNote.outputs.version }}.zip
195+
asset_path: ${{ github.workspace }}/actions-runner-win-x64-${{ steps.releaseNote.outputs.version }}.zip
197196
asset_name: actions-runner-win-x64-${{ steps.releaseNote.outputs.version }}.zip
198197
asset_content_type: application/octet-stream
199198

@@ -203,7 +202,7 @@ jobs:
203202
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
204203
with:
205204
upload_url: ${{ steps.createRelease.outputs.upload_url }}
206-
asset_path: ${{ github.workspace }}/_package/actions-runner-win-arm64-${{ steps.releaseNote.outputs.version }}.zip
205+
asset_path: ${{ github.workspace }}/actions-runner-win-arm64-${{ steps.releaseNote.outputs.version }}.zip
207206
asset_name: actions-runner-win-arm64-${{ steps.releaseNote.outputs.version }}.zip
208207
asset_content_type: application/octet-stream
209208

@@ -213,7 +212,7 @@ jobs:
213212
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
214213
with:
215214
upload_url: ${{ steps.createRelease.outputs.upload_url }}
216-
asset_path: ${{ github.workspace }}/_package/actions-runner-linux-x64-${{ steps.releaseNote.outputs.version }}.tar.gz
215+
asset_path: ${{ github.workspace }}/actions-runner-linux-x64-${{ steps.releaseNote.outputs.version }}.tar.gz
217216
asset_name: actions-runner-linux-x64-${{ steps.releaseNote.outputs.version }}.tar.gz
218217
asset_content_type: application/octet-stream
219218

@@ -223,7 +222,7 @@ jobs:
223222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
224223
with:
225224
upload_url: ${{ steps.createRelease.outputs.upload_url }}
226-
asset_path: ${{ github.workspace }}/_package/actions-runner-osx-x64-${{ steps.releaseNote.outputs.version }}.tar.gz
225+
asset_path: ${{ github.workspace }}/actions-runner-osx-x64-${{ steps.releaseNote.outputs.version }}.tar.gz
227226
asset_name: actions-runner-osx-x64-${{ steps.releaseNote.outputs.version }}.tar.gz
228227
asset_content_type: application/octet-stream
229228

@@ -233,7 +232,7 @@ jobs:
233232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
234233
with:
235234
upload_url: ${{ steps.createRelease.outputs.upload_url }}
236-
asset_path: ${{ github.workspace }}/_package/actions-runner-osx-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
235+
asset_path: ${{ github.workspace }}/actions-runner-osx-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
237236
asset_name: actions-runner-osx-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
238237
asset_content_type: application/octet-stream
239238

@@ -243,7 +242,7 @@ jobs:
243242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
244243
with:
245244
upload_url: ${{ steps.createRelease.outputs.upload_url }}
246-
asset_path: ${{ github.workspace }}/_package/actions-runner-linux-arm-${{ steps.releaseNote.outputs.version }}.tar.gz
245+
asset_path: ${{ github.workspace }}/actions-runner-linux-arm-${{ steps.releaseNote.outputs.version }}.tar.gz
247246
asset_name: actions-runner-linux-arm-${{ steps.releaseNote.outputs.version }}.tar.gz
248247
asset_content_type: application/octet-stream
249248

@@ -253,7 +252,7 @@ jobs:
253252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
254253
with:
255254
upload_url: ${{ steps.createRelease.outputs.upload_url }}
256-
asset_path: ${{ github.workspace }}/_package/actions-runner-linux-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
255+
asset_path: ${{ github.workspace }}/actions-runner-linux-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
257256
asset_name: actions-runner-linux-arm64-${{ steps.releaseNote.outputs.version }}.tar.gz
258257
asset_content_type: application/octet-stream
259258

0 commit comments

Comments
 (0)