Skip to content

Commit 636781b

Browse files
committed
Fixes
Fix workflow, fixed and resized icons, removed readme, reformatted json file.
1 parent 7819965 commit 636781b

File tree

6 files changed

+45
-73
lines changed

6 files changed

+45
-73
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Publish Release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
paths-ignore:
8+
- .github/workflows/*
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
env:
14+
python_ver: 3.11
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: get version
23+
id: version
24+
uses: notiz-dev/github-action-json-property@release
25+
with:
26+
path: 'plugin.json'
27+
prop_path: 'Version'
28+
- run: echo ${{steps.version.outputs.prop}}
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install -r ./requirements.txt -t ./lib
33+
zip -r Flow.Launcher.Plugin.Portal2.Autorender.zip . -x '*.git*'
34+
- name: Publish
35+
if: success()
36+
uses: softprops/action-gh-release@v1
37+
with:
38+
files: 'Flow.Launcher.Plugin.Portal2.Autorender.zip'
39+
tag_name: "v${{steps.version.outputs.prop}}"
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflow/release.yaml

Lines changed: 0 additions & 68 deletions
This file was deleted.

assets/app.png

-690 Bytes
Loading

assets/icon.png

22.3 KB
Loading

lib/readme.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugin.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"ID": "2f4e384e-76ce-45c3-aea2-b16f5e5c328f",
3-
"ActionKeyword": "ar",
2+
"ID": "2a76ad4e-e2b6-4ae7-a35e-d0e3d7488be7",
43
"Name": "FlowAutoRender",
54
"Description": "Searches Portal 2 autorender site",
65
"Author": "Rex",
76
"Version": "1.0.0",
87
"Language": "python",
98
"Website": "https://github.com/PortalRex/FlowAutoRender",
10-
"IcoPath": "assets\\app.png",
11-
"ExecuteFileName": "main.py"
9+
"IcoPath": "assets\\icon.png",
10+
"ExecuteFileName": "main.py",
11+
"ActionKeyword": "ar"
1212
}

0 commit comments

Comments
 (0)