Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Nov 10, 2024
1 parent 685c2f9 commit 461211f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
name: Test Job
runs-on: windows-latest
steps:
- name: Install winget
uses: Cyberboss/install-winget@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install WinGet
run: |
Invoke-WebRequest -Uri "https://github.com/microsoft/winget-cli/releases/download/v1.10.30-preview/DesktopAppInstaller_Dependencies.zip" -OutFile ".\deps.zip"
Expand-Archive -Path ".\deps.zip" -DestinationPath "."
$appxFiles = Get-ChildItem -Path $x64FolderPath -Filter "*.appx"
foreach ($appxFile in $appxFiles) { Add-AppxPackage -Path $appxFile.FullName }
Invoke-WebRequest -Uri "https://github.com/microsoft/winget-cli/releases/download/v1.10.30-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -OutFile ".\installer.msixbundle"
Add-AppxPackage -Path ".\installer.msixbundle"
- name: Install Delta Chat
run: |
$process = Start-Process -FilePath "winget" -ArgumentList "show 9pjtxx7hn3pk" -RedirectStandardInput "input.txt" -NoNewWindow -PassThru
Set-Content -Path "input.txt" -Value "Y"
$process.WaitForExit()
winget download 9pjtxx7hn3pk
winget show 9pjtxx7hn3pk
winget show 9pjtxx7hn3pk --source=msstore --disable-interactivity --accept-source-agreements --accept-package-agreements
winget download 9pjtxx7hn3pk --source=msstore --disable-interactivity --accept-source-agreements
winget --help
echo "Y" | winget install 9pjtxx7hn3pk --source=msstore
winget install 9pjtxx7hn3pk --source=msstore --disable-interactivity --accept-package-agreements
Get-ChildItem -Path "$env:TEMP\WinGet"
dir "$env:TEMP\WinGet"

0 comments on commit 461211f

Please sign in to comment.