Skip to content

Commit

Permalink
fix: attempt ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminshafii committed Apr 13, 2024
1 parent 73799a2 commit 7e4ad33
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Release Obsidian plugin

on:
push:
tags:
- "*"
push:
tags:
- "*"

jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
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" \
main.js manifest.json
gh release create "$tag" \
--title="$tag" \
main.js manifest.json styles.css
Empty file added styles.css
Empty file.

0 comments on commit 7e4ad33

Please sign in to comment.