mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
Skip release jobs on non-release changes
This commit is contained in:
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@@ -272,6 +272,9 @@ jobs:
|
|||||||
## Prepare and create release
|
## Prepare and create release
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
release:
|
release:
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [released]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [pack-for-update, pack-for-manual_setup, pack-for-remote_setup]
|
needs: [pack-for-update, pack-for-manual_setup, pack-for-remote_setup]
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
@@ -381,6 +384,9 @@ jobs:
|
|||||||
#########################################################################################
|
#########################################################################################
|
||||||
# Make sure to also update update-webinstaller.yml!
|
# Make sure to also update update-webinstaller.yml!
|
||||||
update-web-installer:
|
update-web-installer:
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [released]
|
||||||
needs: [release]
|
needs: [release]
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
|
|||||||
Reference in New Issue
Block a user