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

Add binary release workflow on tags. #308

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
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
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
40 changes: 40 additions & 0 deletions .github/workflows/upload-kak-tree-sitter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release
on:
push:
tags:
- 'kak-tree-sitter-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
40 changes: 40 additions & 0 deletions .github/workflows/upload-ktsctl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release
on:
push:
tags:
- 'ktsctl-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
Loading