Skip to content

Commit

Permalink
Added publisher workflow (#210)
Browse files Browse the repository at this point in the history
* Changed "Quick actions" to "snippets"

* Changed Community Actions to Snippets

* Version bump

* Version bump

* Changed snippet to code snippet

* Added store publish workflow

* Fixed publisher.yml
  • Loading branch information
bostrot authored Aug 15, 2023
1 parent a100e2a commit ceab0bb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publisher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to Microsoft Store

on:
workflow_dispatch:
push:
tags:
- '*'

jobs:
# Publish to Microsoft Store
publish:
runs-on: ubuntu-latest
steps:
# Download release asset
- id: download-release-asset
name: Download release asset
uses: dsaltares/fetch-gh-release-asset@master
with:
version: tags/${{ env.RELEASE }}
file: wsl2-distro-manager-v${{ env.RELEASE }}.msix
target: release.msix
token: ${{ secrets.DEPLOY_TOKEN }}

# Publish to Microsoft Store
- uses: isaacrlevin/windows-store-action@1.0
name: Publish to Store
with:
tenant-id: ${{ secrets.AZURE_AD_TENANT_ID }}
client-id: ${{ secrets.AZURE_AD_APPLICATION_CLIENT_ID }}
client-secret: ${{ secrets.AZURE_AD_APPLICATION_SECRET }}
app-id: ${{ secrets.STORE_APP_ID }}
package-path: release.msix

0 comments on commit ceab0bb

Please # to comment.