-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (48 loc) · 1.25 KB
/
Copy pathpublish-app.yml
File metadata and controls
60 lines (48 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Publish App
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.0.100"
- name: Install Dependencies
run: dotnet restore
- name: Build Release
run: dotnet publish
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: artifacts/publish/Flow.Launcher.Plugin.OneTimePassword/release
release:
runs-on: ubuntu-latest
needs: publish
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: artifacts
path: artifacts
- name: Archive Artifacts
uses: thedoctor0/zip-release@0.7.6
with:
type: "zip"
filename: "Flow.Launcher.Plugin.OneTimePassword.zip"
directory: "artifacts"
path: "./*"
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: "artifacts/Flow.Launcher.Plugin.OneTimePassword.zip"