diff --git a/.github/workflows/luabitop_compilation.yml b/.github/workflows/luabitop_compilation.yml index 79f3d45..da4a468 100644 --- a/.github/workflows/luabitop_compilation.yml +++ b/.github/workflows/luabitop_compilation.yml @@ -71,15 +71,13 @@ jobs: if-no-files-found: error ## Release on tag - - uses: actions/download-artifact@v4 - - name: Display structure of downloaded files - run: dir LuaBitOp-DLL + - name: Download artifact + uses: actions/download-artifact@v4 + - name: Zip release + run: Compress-Archive -Path LuaBitOp-DLL -CompressionLevel Optimal -DestinationPath LuaBitOp-DLL.zip - name: Release DLL if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: - files: | - bit.dll - LICENSE - README.md + files: LuaBitOp-DLL.zip fail_on_unmatched_files: true