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:
|
2024-02-08 16:37:35 +00:00
|
|
|
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
|
2024-02-08 16:47:50 +00:00
|
|
|
version: ${{ inputs.tag }}
|
2024-02-08 16:34:02 +00:00
|
|
|
release-tag: ${{ inputs.tag }}
|
|
|
|
installers-regex: '\.msi$'
|
|
|
|
token: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }}
|