mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 22:46:14 -05:00
ci: use GitHub hosted arm action runner
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -31,7 +31,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
# Set the matrix to include arm64 if the ref is a tag or is the dev branch
|
# Set the matrix to include arm64 if the ref is a tag or is the dev branch
|
||||||
if [[ "${{ github.ref }}" == "refs/tags/"* || "${{ github.ref }}" == "refs/heads/dev" ]]; then
|
if [[ "${{ github.ref }}" == "refs/tags/"* || "${{ github.ref }}" == "refs/heads/dev" ]]; then
|
||||||
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "arm64", "arch": "arm64"}]' >> $GITHUB_OUTPUT
|
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "ubuntu-24.04-arm", "arch": "ubuntu-24.04-arm"}]' >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT
|
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -73,9 +73,9 @@ jobs:
|
|||||||
const inputs = ${{ toJson(inputs) }}
|
const inputs = ${{ toJson(inputs) }}
|
||||||
const { arch } = inputs
|
const { arch } = inputs
|
||||||
const osMap = {
|
const osMap = {
|
||||||
"all": ["ubuntu-latest", "arm64"],
|
"all": ["ubuntu-latest", "ubuntu-24.04-arm"],
|
||||||
"x86_64": ["ubuntu-latest"],
|
"x86_64": ["ubuntu-latest"],
|
||||||
"arm64": ["arm64"]
|
"arm64": ["ubuntu-24.04-arm"]
|
||||||
}
|
}
|
||||||
|
|
||||||
const package = Object.entries(inputs)
|
const package = Object.entries(inputs)
|
||||||
|
|||||||
Reference in new issue
Block a user