mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 06:56:17 -05:00
fix(ci): honor build-only for manually dispatched tag refs
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -786,7 +786,7 @@ jobs:
|
|||||||
${{ matrix.workspace }}/gp/.build/${{ matrix.artifact_dir }}/artifacts/*
|
${{ matrix.workspace }}/gp/.build/${{ matrix.artifact_dir }}/artifacts/*
|
||||||
|
|
||||||
gh-release:
|
gh-release:
|
||||||
if: ${{ always() && ((github.event_name == 'workflow_dispatch' && !inputs.build_only) || startsWith(github.ref, 'refs/tags/')) }}
|
if: ${{ always() && ((github.event_name == 'workflow_dispatch' && !inputs.build_only) || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'))) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
@@ -942,7 +942,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- test-gp
|
- test-gp
|
||||||
- build-docker-image
|
- build-docker-image
|
||||||
if: ${{ (github.event_name == 'workflow_dispatch' && !inputs.build_only) || startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ (github.event_name == 'workflow_dispatch' && !inputs.build_only) || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ gpclient diagnostics --json --output diagnostics.json
|
|||||||
The collector refuses to overwrite an existing file. Choose another filename or
|
The collector refuses to overwrite an existing file. Choose another filename or
|
||||||
remove the previous report yourself before collecting again.
|
remove the previous report yourself before collecting again.
|
||||||
|
|
||||||
This command is being added after 3.0.1. If your installed version says the
|
This command is available in 3.0.2 and later. If your installed version says the
|
||||||
command is unknown, use the standalone script below. You do not need to upgrade
|
command is unknown, use the standalone script below. You do not need to upgrade
|
||||||
before reporting a problem.
|
before reporting a problem.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user