File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 11name : " Build packages"
22description : " Build RPM and DEB packages for multiple architectures"
3+ inputs :
4+ build-targets :
5+ description : " Set to x86_64, aarch64, or both to choose which packages to build"
6+ required : false
7+ default : both
38
49runs :
510 using : " composite"
@@ -36,12 +41,14 @@ runs:
3641 echo "VERSION=${{ github.ref_name }}" >> "$GITHUB_ENV"
3742 fi
3843 - name : Build x86_64 packages
44+ if : ${{ inputs.build-targets != 'aarch64' }}
3945 env :
4046 CARGO_TARGET : x86_64-unknown-linux-gnu
4147 GLIBC_VERSION : 2.27
4248 shell : bash
4349 run : make package
4450 - name : Build aarch64 packages
51+ if : ${{ inputs.build-targets != 'x86_64' }}
4552 env :
4653 CARGO_TARGET : aarch64-unknown-linux-gnu
4754 BIN_UTIL_PREFIX : aarch64-linux-gnu-
You can’t perform that action at this time.
0 commit comments