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