mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-08-16 12:49:14 +00:00
revert: PR build artifact (#1067)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
690652f204
commit
51a76eefe2
15
.github/workflows/build-standalone-on-merge.yaml
vendored
15
.github/workflows/build-standalone-on-merge.yaml
vendored
@ -13,23 +13,13 @@ on:
|
|||||||
- '*-dev'
|
- '*-dev'
|
||||||
types:
|
types:
|
||||||
- merged
|
- merged
|
||||||
- labeled
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-validation:
|
build-validation:
|
||||||
name: Build Test
|
name: Build Test
|
||||||
# allow triggering when a PR is labeled with "build-artifact"
|
|
||||||
if: >-
|
|
||||||
github.event_name != 'pull_request' ||
|
|
||||||
github.event.action != 'labeled' ||
|
|
||||||
github.event.label.name == 'build-artifact'
|
|
||||||
uses: ./.github/workflows/run-lint.yaml
|
uses: ./.github/workflows/run-lint.yaml
|
||||||
build:
|
build:
|
||||||
name: Build and Upload Package
|
name: Build and Upload Package
|
||||||
if: >-
|
|
||||||
github.event_name != 'pull_request' ||
|
|
||||||
github.event.action != 'labeled' ||
|
|
||||||
github.event.label.name == 'build-artifact'
|
|
||||||
uses: ./.github/workflows/build-and-publish-standalone.yaml
|
uses: ./.github/workflows/build-and-publish-standalone.yaml
|
||||||
needs:
|
needs:
|
||||||
- build-validation
|
- build-validation
|
||||||
@ -38,7 +28,4 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
with:
|
with:
|
||||||
# For PR-triggered runs github.ref_name is "<prNumber>/merge" (not a real
|
CI_BRANCH: ${{github.ref_name}}
|
||||||
# branch), which breaks the upload gate. Leave CI_BRANCH empty for PRs so
|
|
||||||
# the gate is skipped; use the real branch name for push events.
|
|
||||||
CI_BRANCH: ${{ github.event_name == 'push' && github.ref_name || '' }}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user