From cf48f26b7fbc4e444b1cfe2d3f9fe0169f51a659 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Thu, 23 May 2024 11:12:10 +0900 Subject: [PATCH] chore: add release system --- .github/workflows/cd.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cd.yaml diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..99cc7bd --- /dev/null +++ b/.github/workflows/cd.yaml @@ -0,0 +1,22 @@ +on: + push: + #- 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