mirror of
https://github.com/cyber-defence-campus/morion
synced 2026-06-20 13:19:16 +00:00
Update release.yml
This commit is contained in:
@@ -4,12 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*.*'
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: startsWith(github.ref, 'refs/tags/') && github.ref == 'refs/tags/v*.*.*' && github.ref == 'refs/tags/your-branch-name'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -40,4 +39,4 @@ jobs:
|
|||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
artifactErrorsFailBuild: true
|
artifactErrorsFailBuild: true
|
||||||
|
|||||||
Reference in New Issue
Block a user