From 54e9f9aa7ae76fbad5e0e1fa45f394c315adba42 Mon Sep 17 00:00:00 2001 From: sitiom Date: Mon, 8 May 2023 01:17:02 +0800 Subject: [PATCH] Add Winget Releaser workflow (#532) --- .github/dependabot.yml | 6 ++++++ .github/workflows/winget.yml | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/winget.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 0000000..117ccaf --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,13 @@ +name: winget +on: + release: + types: [released] +jobs: + publish: + runs-on: windows-latest + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: ajeetdsouza.zoxide + installers-regex: '-pc-windows-msvc\.zip$' + token: ${{ secrets.WINGET_TOKEN }}