diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a76ad54f..15ddebb0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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('', "$CN") | Set-Content pubspec.yaml + (Get-Content pubspec.yaml).replace('', "${{ 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