cryptomator/.github/workflows/winget.yml

27 lines
725 B
YAML
Raw Normal View History

2024-02-08 16:39:21 +00:00
name: Publish MSI to winget-pkgs
2024-02-08 16:34:02 +00:00
on:
workflow_dispatch:
inputs:
tag:
description: 'Release tag'
required: true
jobs:
winget:
name: Publish winget package
runs-on: windows-latest
steps:
- name: Sync winget-pkgs fork
run: |
gh repo sync cryptomator/winget-pkgs -b master --force
env:
GH_TOKEN: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }}
2024-02-08 16:34:02 +00:00
- name: Submit package
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: Cryptomator.Cryptomator
version: ${{ inputs.tag }}
2024-02-08 16:34:02 +00:00
release-tag: ${{ inputs.tag }}
installers-regex: '\.msi$'
token: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }}