File tree Expand file tree Collapse file tree 6 files changed +45
-73
lines changed
Expand file tree Collapse file tree 6 files changed +45
-73
lines changed Original file line number Diff line number Diff line change 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 }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments