Skip to content

Commit

Permalink
Fix desktop CI
Browse files Browse the repository at this point in the history
  • Loading branch information
prof18 committed Dec 26, 2024
1 parent e71c53f commit 43eb0e5
Showing 1 changed file with 32 additions and 21 deletions.
53 changes: 32 additions & 21 deletions .github/workflows/desktop-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,39 +244,50 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Download DEB artifact
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-linux.outputs.deb_name }}
merge-multiple: true

- name: Download RPM artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-linux.outputs.rpm_name }}
merge-multiple: true

- name: Download Windows artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-windows.outputs.artifact_name }}
merge-multiple: true
# - name: Download DEB artifact
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.build-linux.outputs.deb_name }}
#
# - name: Download RPM artifact
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.build-linux.outputs.rpm_name }}
#
# - name: Download Windows artifact
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.build-windows.outputs.artifact_name }}
#
# - name: Download macOS artifact
# uses: actions/download-artifact@v4
# with:
# name: ${{ needs.build-macos.outputs.artifact_name }}

- name: Download macOS artifact
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-macos.outputs.artifact_name }}
merge-multiple: true
- name: List artifacts
run: ls -R
# .:
# FeedFlow-1.0.82.dmg
# FeedFlow-1.0.82.msi
# feedflow-1.0.82-1.x86_64.rpm
# feedflow_1.0.82_amd64.deb

- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
${{ needs.build-linux.outputs.deb_name }}
${{ needs.build-linux.outputs.rpm_name }}
${{ needs.build-windows.outputs.artifact_name }}
${{ needs.build-macos.outputs.artifact_name }}
*.dmg
*.msi
*.rpm
*.deb
draft: true
tag_name: ${{ needs.build-macos.outputs.release_tag }}
env:
Expand Down

0 comments on commit 43eb0e5

Please sign in to comment.