Skip to content

Commit

Permalink
Add gh-action to create a release on v*.*.* tags
Browse files Browse the repository at this point in the history
  • Loading branch information
leavauchier committed Jun 25, 2024
1 parent 07e14cc commit f16e2ab
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout branch
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build docker image
run: docker build -t ${{ env.DOCKER_IMAGE_NAME }}:test .
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/cicd_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
make_latest: true
2 changes: 1 addition & 1 deletion .github/workflows/cicd_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout branch
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: install cppunit
run: sudo apt install -y libcppunit-dev
Expand Down

0 comments on commit f16e2ab

Please sign in to comment.