File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build icu-static for x64-windows
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 0 * * 5"
7+
8+ env :
9+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10+
11+ jobs :
12+ build :
13+ name : " Build icu-static with vcpkg"
14+ runs-on : windows-latest
15+ timeout-minutes : 240
16+ steps :
17+ - name : " Vcpkg build"
18+ run : vcpkg install icu:x64-windows-static --x-install-root=.
19+
20+ - name : " Pack"
21+ run : |
22+ New-Item -ItemType Directory -Force -Path dist
23+ Compress-Archive -Path "x64-windows-static" -DestinationPath "dist\icu-static-windows-x64.zip"
24+
25+ - name : " Deploy to self-hosted OSS"
26+ uses :
static-php/[email protected] 27+ with :
28+ aws_key_id : ${{ secrets.AWS_KEY_ID }}
29+ aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
30+ aws_bucket : ${{ secrets.AWS_BUCKET }}
31+ source_dir : " dist/"
32+ destination_dir : static-php-cli/deps/icu-static-windows-x64/
33+ endpoint : ${{ secrets.AWS_ENDPOINT }}
You can’t perform that action at this time.
0 commit comments