We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6f92bf commit 41ffac4Copy full SHA for 41ffac4
.github/workflows/c-cpp.yml
@@ -75,3 +75,14 @@ jobs:
75
# Using wildcards so that only the driver directory gets included (if you specify it, then it won't be included)
76
path: |
77
${{env.CMAKE_BUILD_DIR}}/Release/driver/*
78
+
79
+ - name: Zip
80
+ if: startsWith(github.ref, 'refs/tags/')
81
+ working-directory: ${{env.CMAKE_BUILD_DIR}}/Release/driver/
82
+ run: cmake -E tar "cf" "${{env.CMAKE_BUILD_DIR}}/Release/slimevr-openvr-driver-${{ matrix.triplet }}.zip" --format=zip -- ${{env.CMAKE_BUILD_DIR}}/Release/driver/slimevr
83
84
+ - name: Release
85
+ uses: softprops/action-gh-release@v1
86
87
+ with:
88
+ files: "${{env.CMAKE_BUILD_DIR}}/Release/slimevr-openvr-driver-${{ matrix.triplet }}.zip"
0 commit comments