diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9d27d3..114144b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,8 +105,20 @@ jobs: with: path: artifacts + - name: Prepare release files + run: | + mkdir -p release + for dir in artifacts/*/; do + name=$(basename "$dir") + if [ -f "$dir/cagire.exe" ]; then + cp "$dir/cagire.exe" "release/${name}.exe" + elif [ -f "$dir/cagire" ]; then + cp "$dir/cagire" "release/${name}" + fi + done + - name: Create Release uses: softprops/action-gh-release@v2 with: - files: artifacts/**/* + files: release/* generate_release_notes: true diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c7bd42f..e6b840d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -3,9 +3,6 @@ name: Deploy Website on: push: branches: [main] - paths: - - 'website/**' - - '.github/workflows/pages.yml' workflow_dispatch: permissions: diff --git a/website/index.html b/website/index.html index ec158ab..e34de64 100644 --- a/website/index.html +++ b/website/index.html @@ -140,7 +140,7 @@
macOS (ARM) macOS (Intel) - Windows + Windows Linux