mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-23 12:09:45 +00:00
27 lines
725 B
YAML
27 lines
725 B
YAML
name: Publish MSI to winget-pkgs
|
|
|
|
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 }}
|
|
- name: Submit package
|
|
uses: vedantmgoyal2009/winget-releaser@v2
|
|
with:
|
|
identifier: Cryptomator.Cryptomator
|
|
version: ${{ inputs.tag }}
|
|
release-tag: ${{ inputs.tag }}
|
|
installers-regex: '\.msi$'
|
|
token: ${{ secrets.CRYPTOBOT_WINGET_TOKEN }} |