Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "v*"
workflow_dispatch:

permissions:
contents: write
Expand All @@ -25,23 +26,25 @@ jobs:
- target: x86_64-unknown-linux-gnu
name: wassette-linux-amd64
runner: ubuntu-latest
- target: aarch64-unknown-linux-gnu
name: wassette-linux-arm
runner: ubuntu-24.04-arm
# Temporarily disabled - aarch64 runners not available for private repos
# - target: aarch64-unknown-linux-gnu
# name: wassette-linux-arm64
# runner: ubuntu-24.04-arm
# macOS targets
- target: x86_64-apple-darwin
name: wassette-darwin-amd64
runner: macos-13
- target: aarch64-apple-darwin
name: wassette-darwin-arm
name: wassette-darwin-arm64
runner: macos-latest
# Windows targets
- target: x86_64-pc-windows-msvc
name: wassette-windows-amd64.exe
runner: windows-latest
- target: aarch64-pc-windows-msvc
name: wassette-windows-arm64.exe
runner: windows-11-arm
# Temporarily disabled - aarch64 runners not available for private repos
# - target: aarch64-pc-windows-msvc
# name: wassette-windows-arm64.exe
# runner: windows-11-arm

steps:
- name: Checkout repository
Expand All @@ -64,15 +67,15 @@ jobs:
- name: Prepare binary (Unix)
if: "!contains(matrix.target, 'windows')"
run: |
cd target/${{ matrix.target }}/release
tar czvf ../../../${{ matrix.name }}.tar.gz wassette
cd target/release
tar czvf ../../${{ matrix.name }}.tar.gz wassette
cd -

- name: Prepare binary (Windows)
if: contains(matrix.target, 'windows')
run: |
cd target/${{ matrix.target }}/release
7z a ../../../${{ matrix.name }}.zip wassette.exe
cd target/release
7z a ../../${{ matrix.name }}.zip wassette.exe
cd -
shell: bash

Expand Down