Skip to content

Commit

Permalink
ci: fix windows store release
Browse files Browse the repository at this point in the history
  • Loading branch information
aeweda committed Jul 17, 2023
1 parent 4742d63 commit 77c1b57
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,9 @@ jobs:
uses: microsoft/setup-msstore-cli@v1

- name: Configure Microsoft Store Developer CLI
env:
PCTID: ${{ secrets.PARTNER_CENTER_TENANT_ID }}
PCSID: ${{ secrets.PARTNER_CENTER_SELLER_ID }}
PCCID: ${{ secrets.PARTNER_CENTER_CLIENT_ID }}
PCCS: ${{ secrets.PARTNER_CENTER_CLIENT_SECRET }}
CN: ${{ secrets.CN }}
run: |
msstore reconfigure --tenantId "$PCTID" --sellerId "$PCSID" --clientId "$PCCID" --clientSecret "$PCCS"
(Get-Content pubspec.yaml).replace('<REAL_CN>', "$CN") | Set-Content pubspec.yaml
(Get-Content pubspec.yaml).replace('<REAL_CN>', "${{ secrets.CN }}") | Set-Content pubspec.yaml
msstore reconfigure -t ${{ secrets.PARTNER_CENTER_TENANT_ID }} -s ${{ secrets.PARTNER_CENTER_SELLER_ID }} -c ${{ secrets.PARTNER_CENTER_CLIENT_ID }} -cs ${{ secrets.PARTNER_CENTER_CLIENT_SECRET }}
- name: Install Project Dependencies
run: flutter pub get
Expand Down

0 comments on commit 77c1b57

Please sign in to comment.