Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
Add binary release workflow on tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
hadronized committed Apr 16, 2024
1 parent c5bb1ea commit f519010
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release
on:
push:
tags:
- 'v*'

jobs:
release-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build kak-tree-sitter
run: cargo build --release -p kak-tree-sitter
- uses: actions/upload-artifact@v4
with:
name: kak-tree-sitter.Linux-x86_64
path: target/release/kak-tree-sitter
- name: Build ktsctl
run: cargo build --release -p ktsctl
- uses: actions/upload-artifact@v4
with:
name: ktsctl.Linux-x86_64
path: target/release/ktsctl

release-linux:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build kak-tree-sitter
run: cargo build --release -p kak-tree-sitter
- uses: actions/upload-artifact@v4
with:
name: kak-tree-sitter.macOS-x86_64
path: target/release/kak-tree-sitter
- name: Build ktsctl
run: cargo build --release -p ktsctl
- uses: actions/upload-artifact@v4
with:
name: ktsctl.macOS-x86_64
path: target/release/ktsctl

0 comments on commit f519010

Please sign in to comment.