generated from algorandfoundation/algokit-beaker-default-template
-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (31 loc) · 869 Bytes
/
cd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Continuous Delivery of Template
on:
push:
branches:
- main
concurrency: release
jobs:
ci-check-python:
name: Check Python
uses: ./.github/workflows/check-python.yaml
tag-release:
runs-on: "ubuntu-latest"
needs: ci-check-python
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Tag release
id: tag
uses: TriPSs/[email protected]
with:
skip-commit: "true"
tag-prefix: ""
skip-on-empty: "false"
- name: Create Release
uses: softprops/action-gh-release@v1
if: ${{ steps.tag.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.tag }}
body: ${{ steps.tag.outputs.clean_changelog }}