mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
Publish snapshots only when commit message is 'increment build number'.
This commit is contained in:
parent
1a4fb48f10
commit
c4005bac38
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -52,10 +52,9 @@ jobs:
|
||||
|
||||
- name: Snapshot - prepare
|
||||
id: snapshot_prepare
|
||||
# FIXME: github.event.head_commit.message == 'increment build number'
|
||||
if: |
|
||||
github.repository == 'FirebirdSQL/firebird' &&
|
||||
(github.event.head_commit.message == 'increment build number' || true) &&
|
||||
github.event.head_commit.message == 'increment build number' &&
|
||||
github.ref_name == 'master'
|
||||
run: |
|
||||
echo "::set-output name=snapshot_name::${{ github.ref_name }}"
|
||||
@ -121,10 +120,9 @@ jobs:
|
||||
|
||||
- name: Snapshot - prepare
|
||||
id: snapshot_prepare
|
||||
# FIXME: github.event.head_commit.message == 'increment build number'
|
||||
if: |
|
||||
github.repository == 'FirebirdSQL/firebird' &&
|
||||
(github.event.head_commit.message == 'increment build number' || true) &&
|
||||
github.event.head_commit.message == 'increment build number' &&
|
||||
github.ref_name == 'master'
|
||||
run: |
|
||||
echo "::set-output name=snapshot_name::${{ github.ref_name }}"
|
||||
@ -301,10 +299,9 @@ jobs:
|
||||
|
||||
- name: Snapshot - prepare
|
||||
id: snapshot_prepare
|
||||
# FIXME: github.event.head_commit.message == 'increment build number'
|
||||
if: |
|
||||
github.repository == 'FirebirdSQL/firebird' &&
|
||||
(github.event.head_commit.message == 'increment build number' || true) &&
|
||||
github.event.head_commit.message == 'increment build number' &&
|
||||
github.ref_name == 'master'
|
||||
shell: cmd
|
||||
env:
|
||||
@ -488,10 +485,9 @@ jobs:
|
||||
|
||||
- name: Snapshot - prepare
|
||||
id: snapshot_prepare
|
||||
# FIXME: github.event.head_commit.message == 'increment build number'
|
||||
if: |
|
||||
github.repository == 'FirebirdSQL/firebird' &&
|
||||
(github.event.head_commit.message == 'increment build number' || true) &&
|
||||
github.event.head_commit.message == 'increment build number' &&
|
||||
github.ref_name == 'master'
|
||||
run: |
|
||||
echo "::set-output name=snapshot_name::${{ github.ref_name }}"
|
||||
|
Loading…
Reference in New Issue
Block a user