Add mimalloc release (#14)
authorAdrian Grucza <46910040+apgrucza@users.noreply.github.com>
Sun, 12 May 2024 14:37:42 +0000 (00:37 +1000)
committerGitHub <noreply@github.com>
Sun, 12 May 2024 14:37:42 +0000 (10:37 -0400)
.github/workflows/main.yml

index 14c7c786496de216207556aae5659aa46a1a6133..77b59f870e7df3eb8bc450d4d546dac5065e1925 100644 (file)
@@ -353,11 +353,25 @@ jobs:
         retention-days: 5
         if-no-files-found: error
 
-    - name: Create Release
+    - name: Create mimalloc Release
       if: startsWith(github.ref, 'refs/tags/REL-')
       uses: ncipollo/release-action@v1.14.0
-      id: create_release
+      id: create_mimalloc_release
       with:
+        tag: ${{github.ref_name}}-mimalloc
+        commit: ${{github.sha}}
+        body: A build of ${{github.ref_name}} that uses the mimalloc allocator for improved performance.
+        makeLatest: false
+        draft: false
+        prerelease: false
+        token: ${{secrets.RELEASE_TOKEN}}
+        artifacts: "winbuild/mimalloc/installer/x64/*.ms?,winbuild/mimalloc/installer/x86/*.ms?,winbuild/mimalloc/installer/psqlodbc-setup/bin/Release/psqlodbc-setup.exe"
+    - name: Create Standard Release
+      if: startsWith(github.ref, 'refs/tags/REL-')
+      uses: ncipollo/release-action@v1.14.0
+      id: create_standard_release
+      with:
+        makeLatest: true
         draft: false
         prerelease: false
         token: ${{secrets.RELEASE_TOKEN}}