diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f500cc4b..d659b8fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,13 @@ jobs: publish: strategy: 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 }} steps: - uses: actions/checkout@v3 @@ -82,19 +88,6 @@ jobs: fpm -C package -s dir -t deb -n "Khoj" --version "$GITHUB_REF_NAME" -p dist/Khoj.deb - uses: actions/upload-artifact@v3 - if : matrix.os == 'macos-latest' with: - name: khoj.dmg - path: dist/Khoj.dmg - - - uses: actions/upload-artifact@v3 - if : matrix.os == 'windows-latest' - with: - name: khoj.exe - path: dist/Khoj.exe - - - uses: actions/upload-artifact@v3 - if : matrix.os == 'ubuntu-latest' - with: - name: khoj.deb - path: dist/Khoj.deb \ No newline at end of file + name: khoj_${{github.ref_name}}_amd64.${{ matrix.extension }} + path: dist/Khoj.${{ matrix.extension }} \ No newline at end of file