Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodbyeNJN committed Jan 10, 2024
0 parents commit 2a92cff
Show file tree
Hide file tree
Showing 21 changed files with 1,150 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/publish-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Publish App

on:
workflow_dispatch:
push:
tags:
- "v*.*.*"

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"
Loading

0 comments on commit 2a92cff

Please sign in to comment.