mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Fix CI
This commit is contained in:
parent
f72dbd1dec
commit
54ccb761e5
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
id: set-matrix
|
id: set-matrix
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||||
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "arm64", "arch": "arm64"]' >> $GITHUB_OUTPUT
|
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "arm64", "arch": "arm64"}]' >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT
|
echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
@ -182,7 +182,7 @@ jobs:
|
|||||||
gh -R "$REPO" release create $RELEASE_TAG \
|
gh -R "$REPO" release create $RELEASE_TAG \
|
||||||
--title "$RELEASE_TAG" \
|
--title "$RELEASE_TAG" \
|
||||||
--notes "$NOTES" \
|
--notes "$NOTES" \
|
||||||
--target ${{ github.ref }} \
|
${{ github.ref == 'refs/heads/dev' && '--target dev' || '' }} \
|
||||||
${{ github.ref == 'refs/heads/dev' && '--prerelease' || '' }} \
|
${{ github.ref == 'refs/heads/dev' && '--prerelease' || '' }} \
|
||||||
gh-release/artifact-source/* \
|
gh-release/artifact-source/* \
|
||||||
gh-release/artifact-gpgui-*/*
|
gh-release/artifact-gpgui-*/*
|
||||||
|
Loading…
Reference in New Issue
Block a user