Skip to content

Commit

Permalink
chore: add release system
Browse files Browse the repository at this point in the history
  • Loading branch information
nydragon committed May 23, 2024
1 parent a72b4be commit 0ecd08f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
workflow_run:
workflows: ["CI"]
#branches:
#- "main"
tags:
- "*.*.*"

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ./target/release/rofi-obsidian
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CI

on: pull_request
on:
- pull_request
- push

jobs:
build:
Expand Down

0 comments on commit 0ecd08f

Please sign in to comment.