From 8fa41fa04dd9ab19b4fc7454e78ed091907c03e8 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..efa726e --- /dev/null +++ b/.github/workflows/cd.yaml @@ -0,0 +1,24 @@ +name: release + +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