-
-
Notifications
You must be signed in to change notification settings - Fork 93
37 lines (32 loc) · 822 Bytes
/
release.yml
File metadata and controls
37 lines (32 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: "Create Release"
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Install dependencies
run: npm install
working-directory: ./plugin
- name: Build
run: npm run build
working-directory: ./plugin
- name: Release
id: create_release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
name: Obsidian x Todoist - v${{ github.ref }}
draft: true
files: |
plugin/dist/main.js
plugin/dist/manifest.json
plugin/dist/styles.css