mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
ci: trigger publish workflow on semver tags (#509)
Co-authored-by: Jakob Stender Guldberg <jakob1379gmail.com>
This commit is contained in:
committed by
GitHub
parent
c979ad2905
commit
9ef979deb3
13
.github/workflows/publish-a-release.yaml
vendored
13
.github/workflows/publish-a-release.yaml
vendored
@@ -1,14 +1,17 @@
|
||||
name: Publish a release
|
||||
|
||||
# GitHub events that triggers the workflow:
|
||||
# GitHub events that trigger the workflow:
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
- "v*.*.*-*"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
call_test_workflow:
|
||||
name: Run Tests
|
||||
if: ${{ github.ref_type == 'tag' && github.ref_name matches '^v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$' }}
|
||||
uses: ./.github/workflows/test.yaml
|
||||
|
||||
call_create_executables_workflow:
|
||||
@@ -43,6 +46,8 @@ jobs:
|
||||
- name: Upload the executables as release assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ github.ref_name }}
|
||||
name: ${{ github.ref_name }}
|
||||
files: |
|
||||
rendercv-*/rendercv-linux-ARM64
|
||||
rendercv-*/rendercv-linux-x86_64
|
||||
|
||||
Reference in New Issue
Block a user