Remove build subdir from artifact archive (#2007)
[skip ci]
diff --git a/.github/workflows/ci-windows-artifacts.yml b/.github/workflows/ci-windows-artifacts.yml
index aa8a6b8..e07bda8 100644
--- a/.github/workflows/ci-windows-artifacts.yml
+++ b/.github/workflows/ci-windows-artifacts.yml
@@ -93,7 +93,8 @@
with:
type: 'zip'
filename: 'windows-artifacts.zip'
- path: 'build/*.exe'
+ directory: 'build'
+ path: '*.exe'
- name: Upload artifacts
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
env:
@@ -101,6 +102,6 @@
with:
# See https://docs.github.com/en/webhooks/webhook-events-and-payloads#release.
upload_url: ${{ github.event.release.upload_url }}
- asset_path: ./windows-artifacts.zip
+ asset_path: build/windows-artifacts.zip
asset_name: windows-artifacts.zip
asset_content_type: application/zip