File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 11name : Publish Release
22
33on :
4- push :
5- branches : [ main ]
6- paths-ignore :
7- - .github/workflows/*
4+ workflow_dispatch : # Allows manual execution from GitHub Actions
85
96permissions :
107 contents : write
@@ -17,33 +14,33 @@ jobs:
1714
1815 steps :
1916 - uses : actions/checkout@v4
20-
17+
2118 - name : Set up Python
2219 uses : actions/setup-python@v4
2320 with :
2421 python-version : ${{ env.python_ver }}
25-
22+
2623 - name : Get version from plugin.json
2724 id : version
2825 uses : notiz-dev/github-action-json-property@release
29- with :
26+ with :
3027 path : ' plugin.json'
3128 prop_path : ' Version'
32-
29+
3330 - name : Generate unique release tag
3431 id : generate_tag
3532 run : |
3633 TIMESTAMP=$(date +'%Y%m%d%H%M%S')
3734 VERSION="${{ steps.version.outputs.prop }}"
3835 UNIQUE_TAG="v${VERSION}-${TIMESTAMP}"
3936 echo "tag=${UNIQUE_TAG}" >> $GITHUB_OUTPUT
40-
37+
4138 - name : Install dependencies and create zip
4239 run : |
4340 python -m pip install --upgrade pip
4441 pip install -r ./requirements.txt -t ./lib
4542 zip -r Flow.Launcher.Plugin.Portal2.Autorender.zip . -x '*.git*'
46-
43+
4744 - name : Create Release
4845 uses : softprops/action-gh-release@v1
4946 with :
You can’t perform that action at this time.
0 commit comments