summaryrefslogtreecommitdiff
path: root/.github/workflows/meshmc-publish.yml
blob: d0ce9948d7e708cb51dd62aa28a4e86fa7ad9b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: "MeshMC: Publish"

on:
  release:
    types: [released]

permissions: {}

jobs:
  winget:
    name: Winget

    permissions:
      contents: read

    runs-on: ubuntu-latest

    steps:
      - name: Publish on Winget
        uses: vedantmgoyal2009/winget-releaser@v2
        with:
          identifier: ProjectTick.MeshMC
          version: ${{ github.event.release.tag_name }}
          installers-regex: 'MeshMC-Windows-MSVC(:?-arm64|-Legacy)?-Setup-.+\.exe$'
          token: ${{ secrets.WINGET_TOKEN }}