From 9b3317a216ee5799d4e4c0707924ca101c4d51a5 Mon Sep 17 00:00:00 2001 From: Dian Date: Fri, 31 Jan 2025 23:38:56 +0800 Subject: [PATCH] remove main.yml --- .github/workflows/main.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index fbb21c4..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Release Obsidian plugin - -on: - push: - tags: - - "*" - -jobs: - 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: Build plugin - run: | - npm install - npm run build - - - 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