Skip to content

Commit f1163a8

Browse files
Khalil Estellkammce
authored andcommitted
👷 Add release job to ci
1 parent 21c88fb commit f1163a8

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,24 @@ on:
2424
- cron: "0 12 * * 0"
2525

2626
jobs:
27-
checks:
28-
uses: libhal/ci/.github/workflows/library.yml@3.0.2
27+
ci:
28+
uses: libhal/ci/.github/workflows/library.yml@4.0.0
2929
with:
3030
library: libhal-soft
3131
coverage: true
3232
secrets: inherit
33+
3334
devices:
34-
uses: libhal/ci/.github/workflows/deploy.yml@3.0.2
35+
uses: libhal/ci/.github/workflows/deploy.yml@4.0.0
3536
secrets: inherit
37+
38+
release:
39+
needs: [ci, devices]
40+
if: startsWith(github.ref, 'refs/tags/')
41+
runs-on: ubuntu-22.04
42+
steps:
43+
- name: Release
44+
uses: softprops/action-gh-release@v1
45+
if: startsWith(github.ref, 'refs/tags/')
46+
with:
47+
generate_release_notes: true

0 commit comments

Comments
 (0)