Skip to content

feat: use musl targets and add SHA256 checksums to release workflow#210

Merged
szmyty merged 2 commits intomainfrom
copilot/add-github-actions-release-workflow
Mar 30, 2026
Merged

feat: use musl targets and add SHA256 checksums to release workflow#210
szmyty merged 2 commits intomainfrom
copilot/add-github-actions-release-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

The release workflow used linux-gnu targets instead of the specified linux-musl targets, and had no checksum generation or publication.

Changes

Cross.toml

  • Updated default-target from x86_64-unknown-linux-gnux86_64-unknown-linux-musl

.github/workflows/ci.ymlrelease-binaries job

  • Switched both Linux targets to musl:
    • x86_64-unknown-linux-gnux86_64-unknown-linux-musl
    • aarch64-unknown-linux-gnuaarch64-unknown-linux-musl
  • Added SHA256 checksum generation after each binary is produced, portable across Linux and macOS runners:
    - name: Generate SHA256 checksum
      shell: bash
      run: |
        if command -v sha256sum &>/dev/null; then
          sha256sum "${{ matrix.artifact_name }}" > "${{ matrix.artifact_name }}.sha256"
        else
          shasum -a 256 "${{ matrix.artifact_name }}" > "${{ matrix.artifact_name }}.sha256"
        fi
  • Updated artifact and release upload steps to include the .sha256 file alongside each binary

Copilot AI changed the title [WIP] Add GitHub Actions release workflow for cross-platform binary distribution feat: use musl targets and add SHA256 checksums to release workflow Mar 30, 2026
Copilot AI requested a review from szmyty March 30, 2026 21:11
@szmyty szmyty marked this pull request as ready for review March 30, 2026 21:15
@szmyty szmyty merged commit ea3a14a into main Mar 30, 2026
@devactivity-app
Copy link
Copy Markdown

Pull Request Summary by devActivity

Metrics

Cycle Time: 9m Coding Time: < 1 min Pickup Time: 3m Review Time: 2m

Achievements

@szmyty szmyty deleted the copilot/add-github-actions-release-workflow branch March 30, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 Add GitHub Actions release workflow for cross-platform binary distribution

2 participants