Skip to content

Commit 58611bf

Browse files
authored
Merge pull request #1 from cibere/v2
Publish V2
2 parents 5983e43 + 8a4086b commit 58611bf

32 files changed

Lines changed: 748 additions & 182 deletions

.github/workflows/Publish Release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Publish Release
22

33
on:
4-
workflow_dispatch:
54
push:
65
branches: [ main ]
7-
paths-ignore:
8-
- .github/workflows/*
6+
paths:
7+
- 'plugin.json'
8+
workflow_dispatch:
99

1010
jobs:
1111
publish:
@@ -15,22 +15,27 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18+
1819
- name: Set up Python ${{ matrix.python-version }}
1920
uses: actions/setup-python@v2
2021
with:
2122
python-version: ${{ matrix.python-version }}
23+
2224
- name: get version
2325
id: version
2426
uses: notiz-dev/github-action-json-property@release
2527
with:
2628
path: 'plugin.json'
2729
prop_path: 'Version'
30+
2831
- run: echo ${{steps.version.outputs.prop}}
32+
2933
- name: Install dependencies
3034
run: |
3135
python -m pip install --upgrade pip
3236
pip install -r ./requirements.txt -t ./lib
3337
zip -r Flow.Launcher.Plugin.WordNikDictionary.zip . -x '*.git*'
38+
3439
- name: Publish
3540
if: success()
3641
uses: softprops/action-gh-release@v1

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
__pycache__
2-
venv
1+
__pycache__/*
2+
venv/*
3+
lib/*
4+
wordnik.logs
5+
*.pyc

Images/discord.png

272 KB
Loading

Images/error.png

5.74 KB
Loading
29.8 KB
Loading
58.9 KB
Loading
52.9 KB
Loading

Images/get_definition_example.png

90.2 KB
Loading
73.3 KB
Loading

Images/get_syllables_example.png

32.2 KB
Loading

0 commit comments

Comments
 (0)