Skip to content

Commit

Permalink
Update WindowsGit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu authored Nov 12, 2024
1 parent df9d83d commit a815a8b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/WindowsGit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ jobs:
host: 'windows'
target: 'desktop'
-
name: Download bsdtar
name: Download dependencies
run: |
New-Item -ItemType Directory -Path ${{github.workspace}}\tmp
Invoke-WebRequest "https://github.com/mhogomchungu/sirikali/releases/download/1.5.2/bsdtar.zip" -OutFile ${{github.workspace}}\tmp\bsdtar.zip
Invoke-WebRequest "https://github.com/mhogomchungu/media-downloader-git/releases/download/0.0.0/libs.zip" -OutFile ${{github.workspace}}\tmp\libs.zip
-
name: Extract archive bsdtar
name: Extract dependencies
run: |
Expand-Archive -Path ${{github.workspace}}\tmp\bsdtar.zip -DestinationPath ${{github.workspace}}\tmp
Expand-Archive -Path ${{github.workspace}}\tmp\libs.zip -DestinationPath ${{github.workspace}}\tmp
-
name: Set Build time
run: |
Expand Down Expand Up @@ -112,15 +114,16 @@ jobs:
echo "BUILD_VERSION=$versionInfo" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
-
name: Create SiriKali.git.exe.zip
name: Create SiriKali.git.zip
run: |
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git/local
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git/extra
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git/extra/bsdtar
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git\local
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git\extra
New-Item -ItemType Directory -Path ${{github.workspace}}\SiriKali.git\extra\bsdtar
Copy-Item ${{github.workspace}}\tmp\bsdtar\* -Destination ${{github.workspace}}\SiriKali.git\extra\bsdtar -Recurse
Copy-Item ${{github.workspace}}\tmp\libs\* -Destination ${{github.workspace}}\SiriKali.git -Recurse
Copy-Item ${{github.workspace}}\tmp\bsdtar\* -Destination ${{github.workspace}}\SiriKali.git/extra/bsdtar -Recurse
Copy-Item -Path ${{github.workspace}}\SiriKali\translations -Destination ${{github.workspace}}\SiriKali.git -Recurse
Copy-Item -Path ${{github.workspace}}\SiriKali\build5\sirikali.exe -Destination ${{github.workspace}}\SiriKali.git
Copy-Item -Path ${{github.workspace}}\SiriKali\build5\src/sirikali_cppcryptfs\sirikali_cppcryptfs.exe -Destination ${{github.workspace}}\SiriKali.git
Expand Down

0 comments on commit a815a8b

Please sign in to comment.