Skip to content

Commit 55d48f8

Browse files
committed
More fixes
1 parent f182bd2 commit 55d48f8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/Publish Release.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,36 @@ on:
99

1010
permissions:
1111
contents: write
12-
12+
1313
jobs:
1414
publish:
1515
runs-on: ubuntu-latest
1616
env:
1717
python_ver: 3.11
1818

1919
steps:
20-
- uses: actions/checkout@v2
21-
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
20+
- uses: actions/checkout@v4
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
2323
with:
24-
python-version: ${{ matrix.python-version }}
25-
- name: get version
24+
python-version: ${{ env.python_ver }}
25+
26+
- name: Get version from plugin.json
2627
id: version
2728
uses: notiz-dev/github-action-json-property@release
2829
with:
2930
path: 'plugin.json'
3031
prop_path: 'Version'
31-
- run: echo ${{steps.version.outputs.prop}}
32-
- name: Install dependencies
32+
33+
- name: Install dependencies and create zip
3334
run: |
3435
python -m pip install --upgrade pip
3536
pip install -r ./requirements.txt -t ./lib
3637
zip -r Flow.Launcher.Plugin.Portal2.Autorender.zip . -x '*.git*'
37-
- name: Publish
38-
if: success()
38+
39+
- name: Create Release
3940
uses: softprops/action-gh-release@v1
4041
with:
4142
files: 'Flow.Launcher.Plugin.Portal2.Autorender.zip'
4243
tag_name: "v${{steps.version.outputs.prop}}"
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
generate_release_notes: true

0 commit comments

Comments
 (0)