winget.yml 727 B

123456789101112131415161718192021222324252627
  1. name: Publish MSI to winget-pkgs
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. tag:
  6. description: 'Release tag'
  7. required: true
  8. jobs:
  9. winget:
  10. name: Publish winget package
  11. runs-on: windows-latest
  12. steps:
  13. - name: Sync winget-pkgs fork
  14. run: |
  15. gh repo sync cryptomator/winget-pkgs -b master --force
  16. env:
  17. GH_TOKEN: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }}
  18. - name: Submit package
  19. uses: vedantmgoyal2009/winget-releaser@main
  20. with:
  21. identifier: Cryptomator.Cryptomator
  22. version: ${{ inputs.tag }}
  23. release-tag: ${{ inputs.tag }}
  24. installers-regex: '\.msi$'
  25. token: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }}