Skip to content

Commit 2a92cff

Browse files
committed
init
0 parents  commit 2a92cff

21 files changed

+1150
-0
lines changed

.github/workflows/publish-app.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Publish App
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*.*.*"
8+
9+
jobs:
10+
publish:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v3
16+
17+
- name: Setup .NET Core
18+
uses: actions/setup-dotnet@v3
19+
with:
20+
dotnet-version: "8.0.100"
21+
22+
- name: Install Dependencies
23+
run: dotnet restore
24+
25+
- name: Build Release
26+
run: dotnet publish
27+
28+
- name: Upload Artifacts
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: artifacts
32+
path: artifacts/publish/Flow.Launcher.Plugin.OneTimePassword/release
33+
34+
release:
35+
runs-on: ubuntu-latest
36+
needs: publish
37+
38+
steps:
39+
- name: Download Artifacts
40+
uses: actions/download-artifact@v4
41+
with:
42+
name: artifacts
43+
path: artifacts
44+
45+
- name: Archive Artifacts
46+
uses: thedoctor0/[email protected]
47+
with:
48+
type: "zip"
49+
filename: "Flow.Launcher.Plugin.OneTimePassword.zip"
50+
directory: "artifacts"
51+
path: "./*"
52+
53+
- name: Release
54+
uses: softprops/action-gh-release@v1
55+
with:
56+
draft: true
57+
files: "artifacts/Flow.Launcher.Plugin.OneTimePassword.zip"

0 commit comments

Comments
 (0)