mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Create separate app artifacts for each operating system
This commit is contained in:
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -10,7 +10,13 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
include:
|
||||||
|
- os: ubuntu-latest
|
||||||
|
extension: deb
|
||||||
|
- os: macos-latest
|
||||||
|
extension: dmg
|
||||||
|
- os: windows-latest
|
||||||
|
extension: exe
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -87,10 +93,11 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: dist/khoj_${{github.ref_name}}_amd64*
|
name: khoj_${{github.ref_name}}_amd64.${{matrix.extension}}
|
||||||
|
path: dist/khoj_${{github.ref_name}}_amd64.${{matrix.extension}}
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
files: khoj_${{github.ref_name}}_amd64*
|
files: khoj_${{github.ref_name}}_amd64.${{matrix.extension}}
|
||||||
|
|||||||
Reference in New Issue
Block a user