mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Sys plugin publish step
This commit is contained in:
parent
6d420e4749
commit
cb758de01a
1 changed files with 28 additions and 0 deletions
28
.github/workflows/default_plugins.yml
vendored
28
.github/workflows/default_plugins.yml
vendored
|
|
@ -38,6 +38,8 @@ jobs:
|
||||||
- 'Plugins/Flow.Launcher.Plugin.Program/plugin.json'
|
- 'Plugins/Flow.Launcher.Plugin.Program/plugin.json'
|
||||||
shell
|
shell
|
||||||
- 'Plugins/Flow.Launcher.Plugin.Shell/plugin.json'
|
- 'Plugins/Flow.Launcher.Plugin.Shell/plugin.json'
|
||||||
|
sys
|
||||||
|
- 'Plugins/Flow.Launcher.Plugin.Sys/plugin.json'
|
||||||
|
|
||||||
- name: Get BrowserBookmark Version
|
- name: Get BrowserBookmark Version
|
||||||
if: steps.changes.outputs.browserbookmark == 'true'
|
if: steps.changes.outputs.browserbookmark == 'true'
|
||||||
|
|
@ -245,3 +247,29 @@ jobs:
|
||||||
tag_name: "v${{steps.updated-version-shell.outputs.prop}}"
|
tag_name: "v${{steps.updated-version-shell.outputs.prop}}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PUBLISH_PLUGINS }}
|
GITHUB_TOKEN: ${{ secrets.PUBLISH_PLUGINS }}
|
||||||
|
|
||||||
|
|
||||||
|
- name: Get Sys Version
|
||||||
|
if: steps.changes.outputs.sys == 'true'
|
||||||
|
id: updated-version-sys
|
||||||
|
uses: notiz-dev/github-action-json-property@release
|
||||||
|
with:
|
||||||
|
path: 'Plugins/Flow.Launcher.Plugin.Sys/plugin.json'
|
||||||
|
prop_path: 'Version'
|
||||||
|
|
||||||
|
- name: Build Sys
|
||||||
|
if: steps.changes.outputs.sys == 'true'
|
||||||
|
run: |
|
||||||
|
dotnet publish 'Plugins/Flow.Launcher.Plugin.Sys/Flow.Launcher.Plugin.Sys.csproj' --framework net7.0-windows -c Release -o "Flow.Launcher.Plugin.Sys"
|
||||||
|
7z a -tzip "Flow.Launcher.Plugin.Sys.zip" "./Flow.Launcher.Plugin.Sys/*"
|
||||||
|
rm -r "Flow.Launcher.Plugin.Sys"
|
||||||
|
|
||||||
|
- name: Publish Sys
|
||||||
|
if: steps.changes.outputs.sys == 'true'
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
repository: "Flow-Launcher/Flow.Launcher.Plugin.Sys"
|
||||||
|
files: "Flow.Launcher.Plugin.Sys.zip"
|
||||||
|
tag_name: "v${{steps.updated-version-sys.outputs.prop}}"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.PUBLISH_PLUGINS }}
|
||||||
Loading…
Reference in a new issue