granc/.github/workflows/release-binaries.yml
dependabot[bot] 5d2ae58682
chore(deps): bump actions/checkout from 4 to 6 (#57)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 17:34:14 +01:00

39 lines
964 B
YAML

name: Release Binaries
permissions:
contents: write
on:
release:
types: [published]
jobs:
upload-assets:
name: Upload assets for ${{ matrix.target }}
if: startsWith(github.event.release.tag_name, 'granc-v')
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# Linux x86_64
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
# macOS x86_64 (Intel)
- target: x86_64-apple-darwin
os: macos-latest
# macOS ARM64 (Apple Silicon)
- target: aarch64-apple-darwin
os: macos-latest
# Windows x86_64
- target: x86_64-pc-windows-msvc
os: windows-latest
steps:
- uses: actions/checkout@v6
- name: Build and Upload
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: granc
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}