Skip to content

Commit

Permalink
wip20
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavosbarreto committed Mar 13, 2024
1 parent e21621d commit 4817139
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ jobs:
- platform: linux
os: ubuntu-latest
target: AppImage
extension: AppImage
- platform: windows
os: ubuntu-latest
target: nsis
extension: exe
- platform: macos
os: macos-latest
target: dmg
extension: exe
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -57,21 +60,31 @@ jobs:
if: "contains(github.ref, 'refs/tags/v')"
uses: actions/upload-artifact@v4
with:
name: Linux
path: dist/*.AppImage
name: ${{ matrix.platform }}
path: dist/*.${{ matrix.extension }}
publish:
if: "contains(github.ref, 'refs/tags/v')"
needs: build
runs-on: ubuntu-latest
steps:
- name: Download Linux binary
- name: Download linux artifact
uses: actions/download-artifact@v4
with:
name: Linux
name: linux
- name: Download windows artifact
uses: actions/download-artifact@v4
with:
name: windows
- name: Download macos artifact
uses: actions/download-artifact@v4
with:
name: macos
- name: Create release draft
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
files: |
*.AppImage
*.exe
*.dmg

0 comments on commit 4817139

Please sign in to comment.