Jacalz / rymdport

Cross-platform application for easy encrypted file, folder, and text sharing between devices.
https://rymdport.github.io/
GNU General Public License v3.0
1.09k stars 58 forks source link

Push Winget release via github action #168

Open jo-chemla opened 1 week ago

jo-chemla commented 1 week ago

Checklist

Is your feature request related to a problem?

It could be useful to add a github action on this repo so that the winget rymdport package gets updated on every github release.

Here is a reference article based on Winget-Releaser@v2 Github Action

Describe the solution you'd like to see.

Below is an action yml files made to keep the winget package up-to-date on every github release, via Github Actions.

Requires:

name: Publish to WinGet
on:
  release:
    types: [ released ]
jobs:
  publish:
    runs-on: windows-latest
    steps:
      - uses: vedantmgoyal9/winget-releaser@v2
        with:
          identifier: Jacalz.Rymdport
          token: ${{ secrets.WINGET_TOKEN }}
          installers-regex: '\-windows\-\w*\.zip$' 
jo-chemla commented 1 week ago

Just pushed a first version to winget here https://github.com/microsoft/winget-pkgs/pull/184773 Once merged, I also just made a PR here https://github.com/Jacalz/rymdport/pull/169 with suggested changes, creating action file.

Please follow requirements in first post and try to spin the action once (after winget-pkgs PR is merged) to confirm everything works as expected.