From a398ce19aa0b24125bcdc4c4f084839b8acbff54 Mon Sep 17 00:00:00 2001 From: Dian Date: Thu, 20 Feb 2025 19:24:24 +0800 Subject: [PATCH] remove stylces css from release workflow --- .github/workflows/release.yaml | 52 +++++++++++++++++----------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 350e329..61e391f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,35 +1,35 @@ name: Release Obsidian plugin on: - push: - tags: - - "*" + push: + tags: + - "*" jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v3 + build: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: "18.x" + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "18.x" - - name: Build plugin - run: | - npm install - npm run build + - name: Build plugin + run: | + npm install + npm run build - - name: Create release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - tag="${GITHUB_REF#refs/tags/}" + - name: Create release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + tag="${GITHUB_REF#refs/tags/}" - gh release create "$tag" \ - --title="$tag" \ - --draft \ - main.js manifest.json styles.css \ No newline at end of file + gh release create "$tag" \ + --title="$tag" \ + --draft \ + main.js manifest.json