This commit is contained in:
@@ -18,14 +18,6 @@ on:
|
|||||||
default: false
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
debug:
|
|
||||||
runs-on: ubuntu-js
|
|
||||||
steps:
|
|
||||||
- name: Dump Context
|
|
||||||
run: |
|
|
||||||
echo "Event Name: ${{ github.event_name }}";
|
|
||||||
echo "Input Value: ${{ inputs['directus-release'] }}";
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
steps:
|
steps:
|
||||||
@@ -120,8 +112,8 @@ jobs:
|
|||||||
needs: [ build, guarddog ]
|
needs: [ build, guarddog ]
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
if: |
|
if: |
|
||||||
github.event_name != 'workflow_dispatch' ||
|
(github.event_name == 'push') ||
|
||||||
github.event.inputs['directus-release'] == 'true'
|
(github.event_name == 'workflow_dispatch' && github.event.inputs['directus-release'] == 'true')
|
||||||
outputs:
|
outputs:
|
||||||
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
|
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
|
||||||
new-release-version: ${{ steps.semantic.outputs.new-release-version }}
|
new-release-version: ${{ steps.semantic.outputs.new-release-version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user