diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..01fdb08 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,15 @@ +# These are supported funding model platforms + +github: [prayag17] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +buy_me_a_coffee: # Replace with a single Buy Me a Coffee username +thanks_dev: # Replace with a single thanks.dev username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/workflows/winget-releaser.yml b/.github/workflows/winget-releaser.yml new file mode 100644 index 0000000..13694db --- /dev/null +++ b/.github/workflows/winget-releaser.yml @@ -0,0 +1,26 @@ +name: Publish Releases to WinGet +on: + release: + types: [published] +jobs: + publish-alpha: + runs-on: ubuntu-latest + if: contains(github.event.release.tag_name, '-alpha') + steps: + - uses: vedantmgoyal9/winget-releaser@a3ac67b0c3026bc335a33b722188e3ec769d6a64 + with: + identifier: prayag17.Blink.Alpha + version: ${{ github.event.release.tag_name }} + installers-regex: '\.exe$' + token: ${{ secrets.WINGET_TOKEN }} + + publish-stable: + runs-on: ubuntu-latest + if: "!contains(github.event.release.tag_name, '-alpha')" + steps: + - uses: vedantmgoyal9/winget-releaser@a3ac67b0c3026bc335a33b722188e3ec769d6a64 + with: + identifier: prayag17.Blink + version: ${{ github.event.release.tag_name }} + installers-regex: '\.exe$' + token: ${{ secrets.WINGET_TOKEN }}