|
8 | 8 | description: 'The package to build' |
9 | 9 | required: true |
10 | 10 | build_only: |
11 | | - description: 'Skip deployment (if non-empty)' |
| 11 | + description: 'Skip deployment (if "true")' |
12 | 12 | required: false |
13 | 13 | repo: |
14 | 14 | description: 'The repo containing the package definition' |
@@ -115,6 +115,7 @@ jobs: |
115 | 115 | git -C /usr/src/$REPO reset --hard FETCH_HEAD |
116 | 116 |
|
117 | 117 | - name: check if the package was already deployed |
| 118 | + if: env.BUILD_ONLY != 'true' |
118 | 119 | shell: bash |
119 | 120 | run: | |
120 | 121 | ./update-scripts/ensure-not-yet-deployed.sh${{ env.ARCHITECTURE != '' && format(' --architecture={0}', env.ARCHITECTURE) || '' }} "/usr/src/$REPO/$PACKAGE_TO_BUILD" |
@@ -240,10 +241,12 @@ jobs: |
240 | 241 | MINGW_ARCHS_TO_BUILD=$( |
241 | 242 | case "$ARCHITECTURE,$PACKAGE_TO_BUILD" in |
242 | 243 | aarch64,*) echo "clangarm64";; |
243 | | - *,mingw-w64-wintoast) echo "mingw32 mingw64 clangarm64";; # We're (cross-)compiling via Visual Studio |
244 | | - *,mingw-w64-git-credential-manager) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built x86 artifacts and using them for all three platforms |
245 | | - *,mingw-w64-git-lfs) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built artifacts from Git LFS' official release page |
246 | | - *) echo "mingw32 mingw64";; |
| 244 | + x86_64,*) echo "mingw64";; |
| 245 | + i686,*) echo "mingw32";; |
| 246 | + ,mingw-w64-wintoast) echo "mingw32 mingw64 clangarm64";; # We're (cross-)compiling via Visual Studio |
| 247 | + ,mingw-w64-git-credential-manager) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built x86 artifacts and using them for all three platforms |
| 248 | + ,mingw-w64-git-lfs) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built artifacts from Git LFS' official release page |
| 249 | + ,*) echo "mingw32 mingw64";; |
247 | 250 | esac |
248 | 251 | ) |
249 | 252 |
|
|
0 commit comments