From 17a3d8af9f70adce99f387ef197c234387932854 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 16 Jun 2024 21:10:28 +0800 Subject: [PATCH] ci: add winget releaser workflow (#1155) * ci: add winget releaser workflow * docs(readme): add winget installation reference --- .github/workflows/winget.yml | 14 ++++++++++++++ README.md | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/winget.yml diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 00000000..beee4155 --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,14 @@ +name: Publish to Winget +on: + release: + types: [released] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: epi052.feroxbuster + installers-regex: '-windows-feroxbuster\.exe\.zip$' + token: ${{ secrets.WINGET_TOKEN }} diff --git a/README.md b/README.md index 7c84ca09..bd10e8ab 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,12 @@ Expand-Archive .\feroxbuster.zip .\feroxbuster\feroxbuster.exe -V ``` +#### Windows via Winget + +``` +winget install epi052.feroxbuster +``` + #### Windows via Chocolatey ```