From f3b0208c1390e714d489c543a5fc280992e63f19 Mon Sep 17 00:00:00 2001 From: utleysam Date: Thu, 4 Jun 2026 21:59:59 -0600 Subject: [PATCH] Initial commit of release.yml --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e11b12e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: Release Codeblock CRBasic Obsidian Plugin + +on: + push: + tags: + - "*" + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: "18.x" + + - name: Install dependencies + run: npm install --legacy-peer-deps + + - name: Build plugin + run: npm run build + + - name: Create Release + uses: softprops/action-gh-release@v2 + with: + files: | + main.js + manifest.json + styles.css