Skip to content

Commit

Permalink
Build and release first auto
Browse files Browse the repository at this point in the history
  • Loading branch information
hedjour committed Jan 17, 2025
1 parent 6359c62 commit 8bdbaaa
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Build GUI Applications
# git tag v1.2.4
# git push origin v1.2.4

on:
push:
Expand Down Expand Up @@ -113,4 +115,39 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: med_to_csv_mac
path: ./dist/mac
path: ./dist/mac

create-release:
needs: [build-linux, build-windows, build-macos] # Attend que tous les builds soient terminés
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') # Seulement si c'est un tag
steps:
- uses: actions/checkout@v4

- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: all-artifacts

- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Release ${{ github.ref_name }}
body: |
# Release ${{ github.ref_name }}
Binaires disponibles pour :
- Windows
- Linux
- macOS
## Installation
Téléchargez le binaire correspondant à votre système d'exploitation.
draft: false
prerelease: false
files: |
all-artifacts/med_to_csv_windows/*
all-artifacts/med_to_csv_linux/*
all-artifacts/med_to_csv_mac/*

0 comments on commit 8bdbaaa

Please sign in to comment.