oh-my-posh/.github/workflows/microsoft_store.yml

58 lines
2.2 KiB
YAML
Raw Normal View History

2022-05-28 15:47:10 -07:00
name: Windows Store
2022-05-26 12:45:52 -07:00
on:
workflow_dispatch:
inputs:
version:
description: 'The latest version'
2022-05-26 12:45:52 -07:00
required: true
jobs:
microsoft_store:
2022-05-28 15:47:10 -07:00
name: Publish To Windows Store
2022-05-26 12:45:52 -07:00
runs-on: ubuntu-latest
steps:
- name: Configure Store Credentials 🔑
uses: jandedobbeleer/store-submission@submission-status
2022-05-26 12:45:52 -07:00
with:
command: configure
type: win32
seller-id: ${{ secrets.SELLER_ID }}
product-id: ${{ secrets.PRODUCT_ID }}
tenant-id: ${{ secrets.TENANT_ID }}
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
only-on-ready: true
2022-05-26 12:45:52 -07:00
- name: Update draft submission
uses: jandedobbeleer/store-submission@submission-status
2022-05-26 12:45:52 -07:00
with:
command: update
product-update: '{
"packages":[
{
2024-11-24 10:23:18 -08:00
"packageUrl":"https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v${{ github.event.inputs.version }}/install-x64.msi",
2022-05-26 12:45:52 -07:00
"languages":["en"],
"architectures":["X64"],
2024-11-24 10:23:18 -08:00
"installerParameters":"/quiet INSTALLER=ws",
"isSilentInstall":false
},
{
2024-11-24 10:23:18 -08:00
"packageUrl":"https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v${{ github.event.inputs.version }}/install-arm64.msi",
"languages":["en"],
"architectures":["Arm64"],
2024-11-24 10:23:18 -08:00
"installerParameters":"/quiet INSTALLER=ws",
"isSilentInstall":false
},
{
2024-11-24 10:23:18 -08:00
"packageUrl":"https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v${{ github.event.inputs.version }}/install-x86.msi",
"languages":["en"],
"architectures":["X86"],
2024-11-24 10:23:18 -08:00
"installerParameters":"/quiet INSTALLER=ws",
"isSilentInstall":false
2022-05-26 12:45:52 -07:00
}
]
}'
- name: Publish Submission
uses: jandedobbeleer/store-submission@submission-status
2022-05-26 12:45:52 -07:00
with:
command: publish